diff options
author | Fangrui Song <i@maskray.me> | 2024-08-12 11:56:29 -0700 |
---|---|---|
committer | Fangrui Song <i@maskray.me> | 2024-08-12 11:56:29 -0700 |
commit | b6448a03d887a1615fdffd1016109f9f24bea275 (patch) | |
tree | def50abcf8121ecda0c2ec5d1c8fac166d26e7f6 /llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp | |
parent | e26b42c70d37cbea47016984e1d2bfc347fb8818 (diff) | |
download | llvm-b6448a03d887a1615fdffd1016109f9f24bea275.zip llvm-b6448a03d887a1615fdffd1016109f9f24bea275.tar.gz llvm-b6448a03d887a1615fdffd1016109f9f24bea275.tar.bz2 |
[ELF] Change "no PT_TLS" error to use errorOrWarn
so that --noinhibit-exec downgrades the error to a warning, which helps
debugging when `PHDRS` is specified without `PT_TLS`. Also update the
message to make it accurate: STT_TLS may exist in the absence of PT_TLS.
In addition, invoking `exitLld(1)` (through `fatal`) is problematic
(#66974): When a thread is `exitLld(1)`, triggering `llvm_shutdown`,
another thread may be at `relocateAlloc`, accessing `sec.relocs()` which
got destroyed(tampered?), leading to
incorrect `llvm_unreachable("invalid expression")`.
Diffstat (limited to 'llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions