summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/dotest.py
diff options
context:
space:
mode:
authorFangrui Song <maskray@google.com>2019-08-19 15:52:29 +0000
committerFangrui Song <maskray@google.com>2019-08-19 15:52:29 +0000
commitec4540d8a62cfef017173ce7309adcb9beca4e53 (patch)
tree2142b8673a3f885b9c1e2515644c5f5e571dd64d /lldb/packages/Python/lldbsuite/test/dotest.py
parent471bbb6e72830ad24d8079c5ee2acf0ec1fac961 (diff)
downloadbcm5719-llvm-ec4540d8a62cfef017173ce7309adcb9beca4e53.tar.gz
bcm5719-llvm-ec4540d8a62cfef017173ce7309adcb9beca4e53.zip
[ELF] Simplify processRelocAux and allow a corner-case error
After D66007/r369262, if the control flow reaches `if (sym.isUndefined())`, we know: * The relocation is not a link-time constant => symbol is preemptable => Undefined or SharedSymbol * Not an undef weak. * -no-pie. * The symbol type is neither STT_OBJECT nor STT_FUNC. ld.lld --export-dynamic --unresolved-symbols=ignore-all %t.o can satisfy these conditions. Delete the isUndefined() test so that we error `symbol '...' has no type`, because we don't know the type to make the decision to create copy relocation/canonical PLT. llvm-svn: 369271
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/dotest.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud