diff options
author | Renato Golin <renato.golin@linaro.org> | 2016-05-12 21:22:31 +0000 |
---|---|---|
committer | Renato Golin <renato.golin@linaro.org> | 2016-05-12 21:22:31 +0000 |
commit | 3f126138a1fc1e2ad3add460c420cf211b08ce23 (patch) | |
tree | b9154710de22553e87a327d31eacc8e279b6ce73 /lldb/packages/Python/lldbsuite/test/python_api/debugger/TestDebuggerAPI.py | |
parent | 911af1ce15ddf2d96d88fdcd4b7dbc6da7c5065b (diff) | |
download | bcm5719-llvm-3f126138a1fc1e2ad3add460c420cf211b08ce23.tar.gz bcm5719-llvm-3f126138a1fc1e2ad3add460c420cf211b08ce23.zip |
[ARM] Delay ARM constant pool creation. NFC.
This change adds a new constant pool kind to ARMOperand. When parsing the
operand for =immediate we create an instance of this operand rather than
creating a constant pool entry and rewriting the operand.
As the new operand kind is only created for ldr rt,= we can make ldr rt,=
an explicit pseudo instruction in ARM, Thumb and Thumb2
The pseudo instruction is expanded in processInstruction(). This creates the
constant pool and transforms the pseudo instruction into a pc-relative ldr to
the constant pool.
There are no functional changes and no modifications needed to existing tests.
Required by the patch that fixes PR25722.
Patch by Peter Smith.
llvm-svn: 269352
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/debugger/TestDebuggerAPI.py')
0 files changed, 0 insertions, 0 deletions