1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00
llvm-mirror/test/tools/llvm-objdump
Fangrui Song ee4cd89804 [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
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
wasm [llvm-objdump][test] Change llvm-objdump tests to use double dash options 2020-03-15 16:01:26 -07: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
all-headers.test
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_zero_cie.test [DebugInfo/llvm-objdump] - Print "ZERO terminator" for terminator entries when dumping .eh_frame. 2020-05-26 12:52:42 +03:00
eh_frame-mipsel.test Fix a failing test. 2020-06-02 18:50:36 +07: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
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
openbsd-headers.test
option-grouping.test
private-headers-dynamic-section.test
private-headers-no-dynamic-segment.test
private-headers-no-dynamic.test
relocation-xindex-symbol.test
relocations-in-nonreloc.test
section-filter.test
section-headers.test
unimplemented-features.test [llvm-objdump][test] Recommit unimplemented-features.test 2020-04-05 11:47:27 +08:00
verneed-wrong-info.test
warn-missing-section.test
warn-on-out-of-range-start-stop-address.test