diff options
author | Jez Ng <jezng@fb.com> | 2020-09-05 10:55:33 -0700 |
---|---|---|
committer | Jez Ng <jezng@fb.com> | 2020-09-25 11:28:31 -0700 |
commit | e4e673e75a067236c9c4ff2e1ab19d6a3a87003d (patch) | |
tree | 360638841df9be3ef6e65d73878add318818c95f /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h | |
parent | 06104cb9f21d3f4b0f0feba7b35744284203164c (diff) | |
download | llvm-e4e673e75a067236c9c4ff2e1ab19d6a3a87003d.zip llvm-e4e673e75a067236c9c4ff2e1ab19d6a3a87003d.tar.gz llvm-e4e673e75a067236c9c4ff2e1ab19d6a3a87003d.tar.bz2 |
[lld-macho] Implement support for PIC
* Implement rebase opcodes. Rebase opcodes tell dyld where absolute
addresses have been encoded in the binary. If the binary is not loaded
at its preferred address, dyld has to rebase these addresses by adding
an offset to them.
* Support `-pie` and use it to test rebase opcodes.
This is necessary for absolute address references in dylibs, bundles etc
to work.
Reviewed By: #lld-macho, gkm
Differential Revision: https://reviews.llvm.org/D87199
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h')
0 files changed, 0 insertions, 0 deletions