diff options
author | Peter Collingbourne <peter@pcc.me.uk> | 2016-04-04 22:29:24 +0000 |
---|---|---|
committer | Peter Collingbourne <peter@pcc.me.uk> | 2016-04-04 22:29:24 +0000 |
commit | 4cdade6a2f3a3378f821249b337989427e3518ca (patch) | |
tree | 09a22861802ca69cf6751a15b466e35ec1a002b5 /lldb/packages/Python/lldbsuite/test/python_api/thread/main.cpp | |
parent | 56f056c01f69b536b02a3b0dd4866efa618fb504 (diff) | |
download | bcm5719-llvm-4cdade6a2f3a3378f821249b337989427e3518ca.tar.gz bcm5719-llvm-4cdade6a2f3a3378f821249b337989427e3518ca.zip |
ELF: Create dynamic symbols for symbol aliases of copy relocations.
For each copy relocation that we create, look through the DSO's symbol table
for aliases and create a dynamic symbol for each one. This causes the copy
relocation to correctly interpose any aliases.
Copy relocations are relatively uncommon (on my machine, 56% of binaries in
/usr/bin have no copy relocations probably due to being PIEs, 97% of them
have <10, and the binary with the largest number of them has 97) so it's
probably fine to do this in a relatively inefficient way.
Differential Revision: http://reviews.llvm.org/D18731
llvm-svn: 265354
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/thread/main.cpp')
0 files changed, 0 insertions, 0 deletions