llvm-project/llvm/test/tools/llvm-objdump
Fangrui Song 5ee571735d [llvm-objdump] Decrease instruction indentation for non-x86
Place the instruction at the 24th column (0-based indexing), matching
GNU objdump ARM/AArch64/powerpc/etc when the address is low.

This is beneficial for non-x86 targets which have short instruction
lengths.

```
// GNU objdump AArch64
   0:   91001062        add     x2, x3, #0x4
  400078:       91001062        add     x2, x3, #0x4
// llvm-objdump, with this patch
       0: 62 10 00 91   add     x2, x3, #4
  400078: 62 10 00 91   add     x2, x3, #4
// llvm-objdump, if we change to print a word instead of bytes in the future
       0: 91001062      add     x2, x3, #4
  400078: 91001062      add     x2, x3, #4

// GNU objdump Thumb
   0:   bf00            nop

// GNU objdump Power ISA 3.1 64-bit instruction
// 0:   00 00 10 04     plwa    r3,0
// 4:   00 00 60 a4
```

Reviewed By: jhenderson

Differential Revision: https://reviews.llvm.org/D81590
2020-06-11 09:10:50 -07:00
..
ARM Revert "[llvm-objdump] Display locations of variables alongside disassembly" 2020-03-16 14:04:25 -04:00
COFF [llvm-objdump][test] Change llvm-objdump tests to use double dash options 2020-03-15 16:01:26 -07:00
ELF [llvm-objdump] Decrease instruction indentation for non-x86 2020-06-11 09:10:50 -07:00
Inputs [llvm-objdump][test] Reorganize ELF --syms tests 2020-03-13 08:00:59 -07:00
MachO Remove '<' from test for better yam2obj input consumption 2020-04-13 21:42:30 +00:00
PowerPC Revert "[llvm-objdump] Display locations of variables alongside disassembly" 2020-03-16 14:04:25 -04:00
RISCV [RISCV] ELF attribute section for RISC-V. 2020-03-31 16:16:19 +08:00
X86 [llvm-objdump] Print target address with evaluateMemoryOperandAddress() 2020-04-27 09:43:51 -07:00
XCOFF [AIX][XCOFF] add symbol priority for the llvm-objdump -D -symbol-description 2020-05-29 11:08:51 -04:00
wasm [llvm-objdump][test] Change llvm-objdump tests to use double dash options 2020-03-15 16:01:26 -07:00
all-headers.test [llvm-objdump] Print file format in lowercase to match GNU output. 2020-02-12 08:17:01 -08:00
archive-headers.test [llvm-objdump][test] Change llvm-objdump tests to use double dash options 2020-03-15 16:01:26 -07:00
eh_frame-mipsel.test Fix a failing test. 2020-06-02 18:50:36 +07:00
eh_frame_zero_cie.test [DebugInfo/llvm-objdump] - Print "ZERO terminator" for terminator entries when dumping .eh_frame. 2020-05-26 12:52:42 +03:00
embedded-source.test [test] llvm/test/: change llvm-objdump single-dash long options to double-dash options 2020-03-15 17:46:23 -07:00
file-headers-pe.test [llvm-objdump][test] Change llvm-objdump tests to use double dash options 2020-03-15 16:01:26 -07:00
full-contents.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
help.test
invalid-input.test [llvm-objdump][test] Change llvm-objdump tests to use double dash options 2020-03-15 16:01:26 -07:00
invalid-symbol-table-size.test [llvm-nm/objdump/size] Add tests for dumping symbol tables with invalid sh_size. 2020-05-06 17:01:20 +08:00
lit.local.cfg
malformed-archives.test [llvm-objdump][test] Change llvm-objdump tests to use double dash options 2020-03-15 16:01:26 -07:00
non-archive-object.test [llvm-objdump] Print file format in lowercase to match GNU output. 2020-02-12 08:17:01 -08:00
openbsd-headers.test
option-grouping.test
private-headers-dynamic-section.test
private-headers-no-dynamic-segment.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
private-headers-no-dynamic.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
relocation-xindex-symbol.test [llvm-objdump] Add column headers for relocation printing 2020-02-12 10:57:15 +00:00
relocations-in-nonreloc.test [llvm-objdump] Print file format in lowercase to match GNU output. 2020-02-12 08:17:01 -08:00
section-filter.test [llvm-objdump] - Remove an outdated "FIXME". NFC. 2019-08-22 09:10:17 +00:00
section-headers.test [yaml2obj][test] Simplify some e_machine EI_CLASS EI_DATA tests 2020-02-07 09:35:26 -08:00
unimplemented-features.test [llvm-objdump][test] Recommit unimplemented-features.test 2020-04-05 11:47:27 +08:00
verneed-wrong-info.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
warn-missing-section.test
warn-on-out-of-range-start-stop-address.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00