llvm-project
96c1fd40 - [tsan] Change personality CHECK to Printf() + Die() (#142821)

Commit
191 days ago
[tsan] Change personality CHECK to Printf() + Die() (#142821) Currently, if TSan needs to disable ASLR but is unable to do so, it aborts with a cryptic message: ``` ThreadSanitizer: CHECK failed: tsan_platform_linux.cpp:290 "((personality(old_personality | ADDR_NO_RANDOMIZE))) != ((-1))" ``` and a segfault (https://github.com/google/sanitizers/issues/837#issuecomment-2939267531). This patch replaces the CHECK with more user-friendly diagnostics and suggestions via printf, followed by Die().
Author
Parents
Loading