Similar to https://reviews.llvm.org/D95642, this diff fixes signal.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
updated
compiler-rt/lib/dfsan/dfsan_custom.cpp | ||
---|---|---|
942 | It is by this. For normal function pointer arguments, we can use it like dfsan_label ret_l; handler_trampoline(handler, signo, 0, &ret_l); pthread_create does so. In this case, we have SignalHandler shared with sigaction to do the similar work. So I ignored it. | |
957 | Yes. Thank you. Also changed test cases. | |
compiler-rt/test/dfsan/custom.cpp | ||
855 | updated. will be adding similar test cases for test_sigaction later. |
compiler-rt/lib/dfsan/dfsan_custom.cpp | ||
---|---|---|
956 | Nit: The != SIG_ERR check is now unnecessary. |
Side question: how does this trampoline get inserted?