diff options
| author | Stefan Pintilie <stefanp@ca.ibm.com> | 2020-04-21 11:08:19 -0500 |
|---|---|---|
| committer | Kamau Bridgeman <kamau.bridgeman@ibm.com> | 2020-04-21 11:08:19 -0500 |
| commit | a92ee77d85973ca261cab8479a01aa0f63beef16 (patch) | |
| tree | 4b48e3e40ebadfd904edcdb2ece27b1a63c8e863 /lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp | |
| parent | e477915bfe5ed11e7010ccf8483eaeea6e5d8809 (diff) | |
[PowerPC][Future] Add offsets to PC Relative relocations.
This is an optimization that applies to global addresses and
allows for the following transformation:
Convert this:
paddi r3, 0, symbol@PCREL, 1
ld r4, 8(r3)
To this:
pld r4, symbol@PCREL+8(0), 1
An instruction is saved and the linker can do the addition when
the symbol is resolved.
Differential Revision: https://reviews.llvm.org/D76160
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp')
0 files changed, 0 insertions, 0 deletions
