This is useful in some platforms where one of these signals is special.
I'm not sure how to write cross-platform tests for this, though.
Details
Details
- Reviewers
kcc kubamracek - Commits
- rGf7c7c11312a8: [asan] Split SIGSEGV / SIGBUS handling so we can handle only one of them and…
rCRT297665: [asan] Split SIGSEGV / SIGBUS handling so we can handle only one of them and…
rL297665: [asan] Split SIGSEGV / SIGBUS handling so we can handle only one of them and…
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
what are those platforms and can we have at the very least tests for those platforms?
(Also, would be nice to have tests for linux/mac, but frankly I don't remember how to cause a SIGBUS on linux)
test/asan/TestCases/Posix/asan-sigbus.cpp | ||
---|---|---|
4 ↗ | (On Diff #91384) | don't compile twice. |
Comment Actions
Hi Kostya,
The PS4 needs to handle those signals differently. As of right now, we can't upload the modifications to make ASan work on it, though. I doubt it would be useful to upstream a test with REQUIRES: ps4, though.
test/asan/TestCases/Posix/asan-sigbus.cpp | ||
---|---|---|
4 ↗ | (On Diff #91384) | A bug in the command line. Updating. |