diff options
| author | Daniel Bertalan <dani@danielbertalan.dev> | 2022-07-25 20:05:40 +0200 | 
|---|---|---|
| committer | Daniel Bertalan <dani@danielbertalan.dev> | 2022-07-28 10:45:28 +0200 | 
| commit | d1e40f4d584fc6dd032938c6c5fb079f6b8121bd (patch) | |
| tree | 70a04081831eb671c6a7305e0f54003a52fa6478 /lldb/source/Plugins/ScriptInterpreter/Python | |
| parent | c1e6caac7059ee4dd4a3860f7a1c954f07f6120e (diff) | |
| download | llvm-d1e40f4d584fc6dd032938c6c5fb079f6b8121bd.zip llvm-d1e40f4d584fc6dd032938c6c5fb079f6b8121bd.tar.gz llvm-d1e40f4d584fc6dd032938c6c5fb079f6b8121bd.tar.bz2 | |
[lld-macho] Add LOH_ARM64_ADRP_ADD_LDR optimization hint support
This hint instructs the linker to optimize an adrp+add+ldr sequence used
for loading from a local symbol's address by loading directly if it's
close enough, or with an adrp(p)+ldr sequence if it's not.
This transformation is the same as what's done for ADRP_LDR_GOT_LDR when
the symbol is local. The logic for acting on this hint is therefore
moved to a new function which will be called from the existing
applyAdrpLdrGotLdr() function.
Differential Revision: https://reviews.llvm.org/D130505
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python')
0 files changed, 0 insertions, 0 deletions
