llvm-project/llvm/test/tools/llvm-objdump/ELF
Igor Kudrin 657e067bb5 [ARMInstPrinter] Print the target address of a branch instruction
This follows other patches that changed printing immediate values of
branch instructions to target addresses, see D76580 (x86), D76591 (PPC),
D77853 (AArch64).

As observing immediate values might sometimes be useful, they are
printed as comments for branch instructions.

// llvm-objdump -d output (before)
000200b4 <_start>:
   200b4: ff ff ff fa   blx     #-4 <thumb>
000200b8 <thumb>:
   200b8: ff f7 fc ef   blx     #-8 <_start>

// llvm-objdump -d output (after)
000200b4 <_start>:
   200b4: ff ff ff fa   blx     0x200b8 <thumb>         @ imm = #-4
000200b8 <thumb>:
   200b8: ff f7 fc ef   blx     0x200b4 <_start>        @ imm = #-8

// GNU objdump -d.
000200b4 <_start>:
   200b4:       faffffff        blx     200b8 <thumb>
000200b8 <thumb>:
   200b8:       f7ff effc       blx     200b4 <_start>

Differential Revision: https://reviews.llvm.org/D104701
2021-06-30 16:35:28 +07:00
..
AArch64 [llvm-objdump] Prevent variable locations to overlap short comments 2021-06-28 14:25:21 +07:00
AMDGPU [AMDGPU] Add gfx1035 target 2021-06-24 14:32:41 -04:00
ARM [ARMInstPrinter] Print the target address of a branch instruction 2021-06-30 16:35:28 +07:00
Hexagon Revert "[NFC] remove explicit default value for strboolattr attribute in tests" 2021-05-24 19:43:40 +02:00
Inputs
Mips
PowerPC [PowerPC] Support powerpcle target in LLVMObject [2/5] 2021-01-02 12:17:39 -06:00
RISCV
call-absolute-symbol.test
dynamic-section-machine-specific.test [yaml2obj] - ProgramHeaders: introduce FirstSec/LastSec instead of Sections list. 2020-11-09 13:00:50 +03:00
dynamic-section.test [yaml2obj] - ProgramHeaders: introduce FirstSec/LastSec instead of Sections list. 2020-11-09 13:00:50 +03:00
file-headers.test
invalid-phdr.test
private-headers.test [llvm-objdump] Add testing for --print-imm-hex, --headers, --section-headers and --private-headers 2021-06-29 17:03:21 +01:00
proc-specific-section.test
program-headers.test [llvm-objdump] Add testing for --print-imm-hex, --headers, --section-headers and --private-headers 2021-06-29 17:03:21 +01:00
pt-gnu-property.test
relocations.test
symbol-table.test [llvm-objdump] Improve newline consistency between different pieces of information 2021-05-04 09:56:07 -07:00
symbol-visibility.test
verdef.test [llvm-objdump] Improve newline consistency between different pieces of information 2021-05-04 09:56:07 -07:00
verneed.test [llvm-objdump] Improve newline consistency between different pieces of information 2021-05-04 09:56:07 -07:00