[compiler-rt] [compiler-rt] Also consider SIGPROF as a synchronous signal (PR #85188)
Dmitry Vyukov via llvm-commits
llvm-commits at lists.llvm.org
Sat Mar 23 07:03:32 PDT 2024
dvyukov wrote:
This looks wrong. SIGPROF is generally not synchronous. Handling it synchronously will cause memory corruptions.
The right way to deal with such deadlocks is to fix why the thread is not delivering it later. Usually a thread is blocked in some syscall that is not marked as BLOCK_REAL in tsan runtime.
https://github.com/llvm/llvm-project/pull/85188
More information about the llvm-commits
mailing list