5 ms·
LLVM already does this as much as possible. Look at how Clang inserts "ud2" instructions in dead code paths.
by pcwalton 9y ago
LLVM already does this as much as possible. Look at how Clang inserts "ud2" instructions in dead code paths.
- iainmerrick 9y agoIs there a way to use that to address the "NeverCalled" example? I feel like there's a huge disconnect here. Even after the strange behavior is explained, some people say "wow, I never ever want that behavior, how do I reliably avoid it?" but others respond "there's no problem, you're just using it wrong". Is there really no way to satisfy both sides?