[PATCH] D97766: [objdump][ARM] Use correct offset when printing ARM/Thumb branch targets
Oliver Stannard (Linaro) via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 4 01:53:16 PST 2021
ostannard marked 2 inline comments as done.
ostannard added inline comments.
================
Comment at: llvm/test/tools/llvm-objdump/ELF/ARM/branch-symbols.s:10
+ ble foo
+@ CHECK: 0: fe ff ff ea b #-8 <foo>
+@ CHECK: 4: fd ff ff da ble #-12 <foo>
----------------
MaskRay wrote:
> Another pain is that arm prints relative offsets, instead of absolute addresses.
> Is anyone going to claim the work?
>
I'm not planning on changing that, and I'm not sure that would be the right thing to do given that the assembler interprets immediates as relative offsets.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D97766/new/
https://reviews.llvm.org/D97766
More information about the llvm-commits
mailing list