aboutsummaryrefslogtreecommitdiff
path: root/lldb/unittests/ScriptInterpreter/Python/PythonDataObjectsTests.cpp
diff options
context:
space:
mode:
authorFangrui Song <maskray@google.com>2020-04-21 14:44:03 -0700
committerFangrui Song <maskray@google.com>2020-04-21 15:39:31 -0700
commit01d2a01e79d3d83f18cf3e54c2bf55bba523b77a (patch)
treebc91a6c7b6430885b1fe289f2a61e69c3d9d95fb /lldb/unittests/ScriptInterpreter/Python/PythonDataObjectsTests.cpp
parentc860262bd20d37c23053f14a82e8e4aa8827cc10 (diff)
downloadllvm-01d2a01e79d3d83f18cf3e54c2bf55bba523b77a.zip
llvm-01d2a01e79d3d83f18cf3e54c2bf55bba523b77a.tar.gz
llvm-01d2a01e79d3d83f18cf3e54c2bf55bba523b77a.tar.bz2
[ELF] Fix a null pointer dereference when relocating a Local-Exec TLS relocation for a lazy symbol
If there is no SHF_TLS section, there will be no PT_TLS and Out::tlsPhdr may be a nullptr. If the symbol referenced by an R_TLS is lazy, we should treat the symbol as undefined. Also reorganize tls-in-archive.s and tls-weak-undef.s . They do not test what they intended to test.
Diffstat (limited to 'lldb/unittests/ScriptInterpreter/Python/PythonDataObjectsTests.cpp')
0 files changed, 0 insertions, 0 deletions