3 ms·
You have to explicitly enable UBSan checks: -fsanitize=signed-integer-overflow See the UBSan docs: https://clang.llvm.org/docs/UndefinedBehaviorSanitizer.
by cbarrick 6y ago
You have to explicitly enable UBSan checks:
-fsanitize=signed-integer-overflow
See the UBSan docs: https://clang.llvm.org/docs/UndefinedBehaviorSanitizer.html https://clang.llvm.org/docs/UndefinedBehaviorSanitizer.html