diff options
author | Quentin Colombet <qcolombet@apple.com> | 2013-04-12 18:47:25 +0000 |
---|---|---|
committer | Quentin Colombet <qcolombet@apple.com> | 2013-04-12 18:47:25 +0000 |
commit | c313220b1884dbe600cee2103c3af4315914caf5 (patch) | |
tree | f3f98b0c458547b109b7fc3f6ed96be4e7b245df /lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.cpp | |
parent | 1eb3b89d9278ae4e049f5cd9a436a595d6c7e131 (diff) | |
download | bcm5719-llvm-c313220b1884dbe600cee2103c3af4315914caf5.tar.gz bcm5719-llvm-c313220b1884dbe600cee2103c3af4315914caf5.zip |
ARM: Correct printing of pre-indexed operands.
According to the ARM reference manual, constant offsets are mandatory for pre-indexed addressing modes.
The MC disassembler was not obeying this when the offset is 0.
It was producing instructions like: str r0, [r1]!.
Correct syntax is: str r0, [r1, #0]!.
This change modifies the dumping of operands so that the offset is always printed, regardless of its value, when pre-indexed addressing mode is used.
Patch by Mihail Popa <Mihail.Popa@arm.com>
llvm-svn: 179398
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.cpp')
0 files changed, 0 insertions, 0 deletions