aboutsummaryrefslogtreecommitdiff
path: root/lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2023-11-07 11:49:05 +0200
committerGitHub <noreply@github.com>2023-11-07 11:49:05 +0200
commit303370e87166305248122a03c9913fde02156f99 (patch)
treebd03d5add9c34d82358881fc58f7dc7a2c11e0b8 /lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp
parent0d3eeac8c0f45410398a87f72ae38ea6ae1c3073 (diff)
downloadllvm-303370e87166305248122a03c9913fde02156f99.zip
llvm-303370e87166305248122a03c9913fde02156f99.tar.gz
llvm-303370e87166305248122a03c9913fde02156f99.tar.bz2
[LLD] [COFF] Mark the symbol _tls_used as a GC root (#71336)
This is necessary if the object file containing _tls_used is built with -fdata-sections; if this symbol is present, lld is going to include references to it in the PE header, in the TLS_TABLE data directory. Therefore, treat the symbol as a GC root, i.e. retain it (and whatever other symbols the section chunk references) when doing doing GC (/opt:ref), if the symbol is present.
Diffstat (limited to 'lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp')
0 files changed, 0 insertions, 0 deletions