Testing and asan leak detection are disabled by default.
Details
Diff Detail
- Repository
- rL LLVM
Event Timeline
lib/asan/asan_flags.cc | ||
---|---|---|
64 ↗ | (On Diff #92865) | asan_flags.cc currently doesn't have any platform-specific code. Could this be moved to some _mac.cc file? Or perhaps into sanitizer_flags.inc? If not, then this at least deserves a comment explaining that we're bringing up LSan and it doesn't fully work yet on Darwin. |
lib/asan/asan_flags.cc | ||
---|---|---|
64 ↗ | (On Diff #92865) | I think the correct behavior here would be to account for the default value of cf.detect_leaks, as set in sanitizer_flags.inc when determining the default value for asan. However, this appears to be causing some problems with 32-bit lsan tests, where things should also be disabled by default. I'm looking into those test failures now. |
64 ↗ | (On Diff #92865) | I think the correct behavior here would be to account for the default value of cf.detect_leaks, as set in sanitizer_flags.inc when determining the default value for asan. However, this appears to be causing some problems with 32-bit lsan tests, where things should also be disabled by default. I'm looking into those test failures now. |
Ok, pending D31430, this now passes check-asan tests. Working on Linux check-lsan now, and running into more issues with i386 builds.
Ping - I think @kubamracek was already mostly fine with this, except the comment I addressed.