Currently we setup either sigaction signal handler with 3 arguments
or old style signal handler with 1 argument depending on user handler type.
This unnecessarily complicates code. Always setup sigaction handler.
Details
Details
- Reviewers
vitalybuka melver - Commits
- rG53a526790d84: tsan: always setup sigaction signal handler
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp | ||
---|---|---|
1964 | Mailed https://reviews.llvm.org/D108907 to clarify. |
@dvyukov
Now it calls .handler as __sanitizer_sigactionhandler_ptr
Is this intentional, some kind of workaround for race mentioned above?