diff options
author | Victor Campos <victor.campos@arm.com> | 2020-05-26 13:28:33 +0100 |
---|---|---|
committer | Victor Campos <victor.campos@arm.com> | 2020-05-27 13:09:13 +0100 |
commit | c7593b0f0d28f6b7f9fa4557ce73197a49b37799 (patch) | |
tree | fa552dd6908779b083d0ecddbf227f69fa92f8d8 /lldb/source/Interpreter/CommandObject.cpp | |
parent | 18bb1f1067028fbeaf92774e640bd865c53e1ce1 (diff) | |
download | llvm-c7593b0f0d28f6b7f9fa4557ce73197a49b37799.zip llvm-c7593b0f0d28f6b7f9fa4557ce73197a49b37799.tar.gz llvm-c7593b0f0d28f6b7f9fa4557ce73197a49b37799.tar.bz2 |
[ARM] Fix rewrite of frame index in Thumb2's address mode i8s4
Summary:
In Thumb2's frame index rewriting process, the address mode i8s4, which
is used by LDRD and STRD instructions, is handled by taking the
immediate offset operand and multiplying it by 4.
This behaviour is wrong, however. In this specific address mode, the
MachineInstr's immediate operand is already in the expected form. By
consequence of that, multiplying it once more by 4 yields a flawed
offset value, four times greater than it should be.
Differential Revision: https://reviews.llvm.org/D80557
Diffstat (limited to 'lldb/source/Interpreter/CommandObject.cpp')
0 files changed, 0 insertions, 0 deletions