aboutsummaryrefslogtreecommitdiff
path: root/lldb/unittests/ScriptInterpreter/Python/PythonExceptionStateTests.cpp
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2016-06-09 18:01:35 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2016-06-09 18:01:35 +0000
commitca8c994818f1e18c1290c9d64893a76a376f0941 (patch)
tree5c705e24cfe95ea6df52758dcd23fe4491d1d363 /lldb/unittests/ScriptInterpreter/Python/PythonExceptionStateTests.cpp
parent00b385e3a5530cb613783f8bdf5614e7c8b869e2 (diff)
downloadllvm-ca8c994818f1e18c1290c9d64893a76a376f0941.zip
llvm-ca8c994818f1e18c1290c9d64893a76a376f0941.tar.gz
llvm-ca8c994818f1e18c1290c9d64893a76a376f0941.tar.bz2
ELF: Compute used bit for --as-needed during symbol resolution.
We can now use this to decide whether to emit a verneed during the final pass over the symbols. We were previously wrongly creating a verneed entry in the case where all references to a DSO's symbols were weak. In a future change we may also want to use the used bit to control whether shared symbols are preemptible and appear in the dynsym. This seems a little tricky to do at the moment because isNeeded() is templated. The only other functional change here is that we emit a DT_NEEDED for DSOs whose symbols are all preempted by objects that appear later in the link. But that doesn't seem too important to me. Differential Revision: http://reviews.llvm.org/D21171 llvm-svn: 272282
Diffstat (limited to 'lldb/unittests/ScriptInterpreter/Python/PythonExceptionStateTests.cpp')
0 files changed, 0 insertions, 0 deletions