Fangrui Song
|
7f36cb1f1a
|
[AArch64InstPrinter] Change printAlignedLabel to print the target address in hexadecimal form
Similar to D76580 (x86) and D76591 (PPC).
```
// llvm-objdump -d output (before)
10000: 08 00 00 94 bl #32
10004: 08 00 00 94 bl #32
// llvm-objdump -d output (after)
10000: 08 00 00 94 bl 0x10020
10004: 08 00 00 94 bl 0x10024
// GNU objdump -d. The lack of 0x is not ideal due to ambiguity.
10000: 94000008 bl 10020 <bar+0x18>
10004: 94000008 bl 10024 <bar+0x1c>
```
The new output makes it easier to find the jump target.
Differential Revision: https://reviews.llvm.org/D77853
|
2020-04-10 09:21:09 -07:00 |
Fangrui Song
|
ecd6d7254e
|
[test] llvm/test/: change llvm-objdump single-dash long options to double-dash options
As announced here: http://lists.llvm.org/pipermail/llvm-dev/2019-April/131786.html
Grouped option syntax (POSIX Utility Conventions) does not play well with -long-option
A subsequent change will reject -long-option.
|
2020-03-15 17:46:23 -07:00 |
Fangrui Song
|
6ed18eaa77
|
[llvm-objdump][test] Change llvm-objdump tests to use double dash options
|
2020-03-15 16:01:26 -07:00 |
Fangrui Song
|
b1cdada023
|
[llvm-objdump][test] Move {AArch64,ARM}/* to ELF/ARM/ or MachO/ARM/ and {AMDGPU,Hexagon,Mips,powerPC}/ to ELF/
|
2020-03-15 15:18:33 -07:00 |
Fangrui Song
|
d385133249
|
[llvm-objdump][test] Move {AArch64,X86}/macho-* to MachO/
|
2020-03-15 15:05:12 -07:00 |