diff options
author | Rui Ueyama <ruiu@google.com> | 2019-04-08 06:45:07 +0000 |
---|---|---|
committer | Rui Ueyama <ruiu@google.com> | 2019-04-08 06:45:07 +0000 |
commit | 4af8d47d059058667921fa788949f3b54f9af2ee (patch) | |
tree | 73d286ed9aa62869b924f6ae2382e87757adf15a /lldb/scripts/Python/modify-python-lldb.py | |
parent | d3b1d74624b1652716af0b9aa986463e542251a0 (diff) | |
download | llvm-4af8d47d059058667921fa788949f3b54f9af2ee.zip llvm-4af8d47d059058667921fa788949f3b54f9af2ee.tar.gz llvm-4af8d47d059058667921fa788949f3b54f9af2ee.tar.bz2 |
Fix -emit-reloc against local symbols.
Previously, we drop symbols starting with .L from the symbol table, so
if there is a relocation that refers a .L symbol, it ended up
referencing a null -- which happened to be interpreted as an absolute
symbol.
This patch copies all symbols including local ones if -emit-reloc is
given.
Fixes https://bugs.llvm.org/show_bug.cgi?id=41385
Differential Revision: https://reviews.llvm.org/D60306
llvm-svn: 357885
Diffstat (limited to 'lldb/scripts/Python/modify-python-lldb.py')
0 files changed, 0 insertions, 0 deletions