aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-objdump/llvm-objdump.cpp
diff options
context:
space:
mode:
authorFangrui Song <maskray@google.com>2020-03-22 23:03:09 -0700
committerFangrui Song <maskray@google.com>2020-03-26 08:32:29 -0700
commit3eef47407b7247513f125833abc688cea3a1d218 (patch)
treeb2ade11d782ef6aaf5112ad2c073016db82d80ab /llvm/tools/llvm-objdump/llvm-objdump.cpp
parent3ff3c6986b1aea1ca0630bf844f8567780eaec90 (diff)
downloadllvm-3eef47407b7247513f125833abc688cea3a1d218.zip
llvm-3eef47407b7247513f125833abc688cea3a1d218.tar.gz
llvm-3eef47407b7247513f125833abc688cea3a1d218.tar.bz2
[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
Diffstat (limited to 'llvm/tools/llvm-objdump/llvm-objdump.cpp')
0 files changed, 0 insertions, 0 deletions