4 ms·
UBSan catches undefined behavior at runtime - so by definition everything it reports was not used by Clang to fold your program to a constant.
by revelation 9y ago
UBSan catches undefined behavior at runtime - so by definition everything it reports was not used by Clang to fold your program to a constant.
- gpderetta 9y agoWhen the sanitizer is on, the optimizer (modulo bugs of course) does not remove the checks.
- deleted 9y ago[deleted]