Apparently ubsan errors are non-fatal by default. If you introduce UB
into LLVM and run the tests, if errors are not fatal, the test will
still produce the expected output and the tests will pass. In order to
make ubsan errors show up as test failures, they have to be made fatal.
Pass the -fno-sanitize-recover=all flag to make it so.
Details
Details
- Reviewers
aeubanks thakis - Commits
- rG4c6e2774d827: [gn] Make ubsan errors fatal, as in cmake
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo