Also adds a sanitizers-wide test, and a msan test, for these functions.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
The sanitizer_common test seems excessive, but I'm inclined to take it anyway simply because it costs us very little to have it there.
compiler-rt/lib/sanitizer_common/sanitizer_common_interceptors.inc | ||
---|---|---|
4013 | These are glibc extensions, move them under a different, linux-only macro. | |
compiler-rt/test/msan/sigandorset.cpp | ||
26 ↗ | (On Diff #272822) | Test that "s" is now considered initialized. |
compiler-rt/test/sanitizer_common/TestCases/Linux/signal_send.cpp | ||
11 | unused function | |
52 | WIFEXITED |
compiler-rt/test/sanitizer_common/TestCases/Linux/signal_send.cpp | ||
---|---|---|
38 | why do you need to fork |
compiler-rt/test/sanitizer_common/TestCases/Linux/signal_send.cpp | ||
---|---|---|
38 | I figured I'd have a test to check the actual behavior and see if it's working correctly (this one) and one that just checks things are initialized correctly (the msan one). This one has the added benefit of testing a few of the other signal functions for all the sanitizers too :) |
clang-tidy: error: no template named 'AddrHashMap'; did you mean '__asan::AddrHashMap'? [clang-diagnostic-error]
not useful