summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/signals/TestSignalsAPI.py
diff options
context:
space:
mode:
authorFangrui Song <maskray@google.com>2018-06-11 19:42:57 +0000
committerFangrui Song <maskray@google.com>2018-06-11 19:42:57 +0000
commit2389a240d02bd8440995e2ad630958e1971ebec7 (patch)
treec21b97209c15ebe4a72dd65802ea8ebca5287d3a /lldb/packages/Python/lldbsuite/test/python_api/signals/TestSignalsAPI.py
parentd1df7b7ee751206f6e9cee31ac003801376c938a (diff)
downloadbcm5719-llvm-2389a240d02bd8440995e2ad630958e1971ebec7.tar.gz
bcm5719-llvm-2389a240d02bd8440995e2ad630958e1971ebec7.zip
[ELF] Fix copy relocation when two symbols share the same Symbol instance.
In glibc libc.so.6, the multiple versions of sys_errlist share the same Symbol instance. When sys_errlist is copy relocated, we would replace SharedSymbol with Defined in the first iteration of the following loop: for (SharedSymbol *Sym : getSymbolsAt<ELFT>(SS)) Then in the second iteration, we think the symbol (which has been changed to Defined) is still SharedSymbol and screw up (the address ends up in the `Size` field). llvm-svn: 334432
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/signals/TestSignalsAPI.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud