diff options
author | Fangrui Song <maskray@google.com> | 2020-04-09 18:46:35 -0700 |
---|---|---|
committer | Fangrui Song <maskray@google.com> | 2020-04-10 09:21:09 -0700 |
commit | 7f36cb1f1a4ed93cfb19bf2183d150571313ec98 (patch) | |
tree | 07e6586fab05a6f05684b6cfacea60d7dc29de3f /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 1824ae0f423b610179dadbc7ecc63de5cbbc812d (diff) | |
download | llvm-7f36cb1f1a4ed93cfb19bf2183d150571313ec98.zip llvm-7f36cb1f1a4ed93cfb19bf2183d150571313ec98.tar.gz llvm-7f36cb1f1a4ed93cfb19bf2183d150571313ec98.tar.bz2 |
[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
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions