This change enables ASan SEGV handler by default on Android (as is already done on other platforms).
It also enables AddressSanitizer.WildAddressAccess on Android, which now passes.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Wow.
Just a quick check - why not put this under compiler-rt/SDKs/android?
lib/asan/CMakeLists.txt | ||
---|---|---|
28 | I'd define the path to additional Android includes in a variable in compiler-rt/CMakeLists.txt and then just use this variable here. |
Comment Actions
I think SDKs are meant to be included _instead_ of system headers, and this is just a fixup for a missing system header.
Comment Actions
Moved header path to compiler_rt/CMakeLists.txt.
Disabled SEGV handler by default, as we seem to have unwinding issues there.
Comment Actions
LGTM. I'm not sure if it's "good" to have third_party sources in compiler-rt repo, but it looks plausible.
I'd define the path to additional Android includes in a variable in compiler-rt/CMakeLists.txt and then just use this variable here.