aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorThurston Dang <thurston@google.com>2025-06-09 09:29:16 -0700
committerGitHub <noreply@github.com>2025-06-09 09:29:16 -0700
commita178c06add77bb489005a0de22a3ca0ca2f1c14e (patch)
treecaf314f878cdeb4fae2824e4146c6011a6271e86 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent4ed0ff8756cb1ed0f67cf5415a60cfbce2c6164b (diff)
downloadllvm-a178c06add77bb489005a0de22a3ca0ca2f1c14e.zip
llvm-a178c06add77bb489005a0de22a3ca0ca2f1c14e.tar.gz
llvm-a178c06add77bb489005a0de22a3ca0ca2f1c14e.tar.bz2
[tsan] Don't symbolize stack traces if dl_iterate_phdr is not ready (#143199)
When a CHECK() fails during TSan initialization, it may segfault (e.g., https://github.com/google/sanitizers/issues/837#issuecomment-2939267531). This is because a failed CHECK() will attempt to print a symbolized stack trace, which requires dl_iterate_phdr, but the interceptor may not yet be set up. This patch fixes the issue by not symbolizing the stack trace if the dl_iterate_phdr interceptor is not ready.
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions