1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02:00
llvm-mirror/test/tools/llvm-objdump
Fangrui Song 82533e3f53 [PPCInstPrinter] Change printBranchOperand(calltarget) to print the target address in hexadecimal form
```
// llvm-objdump -d output (before)
0: bl .-4
4: bl .+0
8: bl .+4

// llvm-objdump -d output (after) ; GNU objdump -d
0: bl 0xfffffffc / bl 0xfffffffffffffffc
4: bl 0x4
8: bl 0xc
```

Many Operand's are not annotated as OPERAND_PCREL.
They are not affected (e.g. `b .+67108860`). I plan to fix them in future patches.

Modified test/tools/llvm-objdump/ELF/PowerPC/branch-offset.s to test
address space wraparound for powerpc32 and powerpc64.

Reviewed By: sfertile, jhenderson

Differential Revision: https://reviews.llvm.org/D76591
2020-03-26 08:32:29 -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 [PPCInstPrinter] Change printBranchOperand(calltarget) to print the target address in hexadecimal form 2020-03-26 08:32:29 -07:00
Inputs [llvm-objdump][test] Reorganize ELF --syms tests 2020-03-13 08:00:59 -07:00
MachO [X86InstPrinter] Change printPCRelImm to print the target address in hexadecimal form 2020-03-26 08:28:59 -07:00
PowerPC Revert "[llvm-objdump] Display locations of variables alongside disassembly" 2020-03-16 14:04:25 -04:00
wasm [llvm-objdump][test] Change llvm-objdump tests to use double dash options 2020-03-15 16:01:26 -07:00
X86 [X86InstPrinter] Change printPCRelImm to print the target address in hexadecimal form 2020-03-26 08:28:59 -07:00
XCOFF [llvm-objdump][test] Move binary format specific tests under COFF/ ELF/ MachO/ XCOFF/ wasm/ 2020-03-09 08:04:48 -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_zero_cie.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 [llvm-objdump][test] Change llvm-objdump tests to use double dash options 2020-03-15 16:01:26 -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 [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
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
section-headers.test [yaml2obj][test] Simplify some e_machine EI_CLASS EI_DATA tests 2020-02-07 09:35:26 -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