diff options
| author | Jim Grosbach <grosbach@apple.com> | 2014-06-11 20:26:45 +0000 |
|---|---|---|
| committer | Jim Grosbach <grosbach@apple.com> | 2014-06-11 20:26:45 +0000 |
| commit | 7a930bf9efee4f7c2de4cfdbe6c79c693d8805b1 (patch) | |
| tree | f6b785aab83c3e865a60a6509a6f884fc180b767 /llvm/unittests/Support/FileOutputBufferTest.cpp | |
| parent | 3fdf7cfba014838471cb056f44c038815d2826ad (diff) | |
| download | llvm-7a930bf9efee4f7c2de4cfdbe6c79c693d8805b1.zip llvm-7a930bf9efee4f7c2de4cfdbe6c79c693d8805b1.tar.gz llvm-7a930bf9efee4f7c2de4cfdbe6c79c693d8805b1.tar.bz2 | |
ARM: honor hex immediate formatting for ldr/str i12 offsets.
Previously we would always print the offset as decimal, regardless of
the formatting requested. Now we use the formatImm() helper so the value
is printed as the client (LLDB in the motivating example) requested.
Before:
ldr.w r8, [sp, #180] @ always
After:
ldr.w r8, [sp, #0xb4] @ when printing hex immediates
ldr.w r8, [sp, #0180] @ when printing decimal immediates
rdar://17237103
llvm-svn: 210701
Diffstat (limited to 'llvm/unittests/Support/FileOutputBufferTest.cpp')
0 files changed, 0 insertions, 0 deletions
