[llvm-objdump] Support --symbolize-operand on AArch64

Similar to the existing implementations for X86 and PPC, support
symbolizing branch targets for AArch64. Do not omit the address for ADRP
as the target is typically not at an intended location.

Pull Request: https://github.com/llvm/llvm-project/pull/145009
This commit is contained in:
Alexis Engelke
2025-06-25 17:09:25 +02:00
committed by GitHub
parent 10edc3df99
commit 36819eaed1
5 changed files with 159 additions and 2 deletions

View File

@@ -278,7 +278,7 @@ OPTIONS
any analysis with a special representation (i.e. BlockFrequency,
BranchProbability, etc) are printed as raw hex values.
Only works with PowerPC objects or X86 linked images.
Only supported for AArch64, BPF, PowerPC, and X86.
Example:
A non-symbolized branch instruction with a local target and pc-relative memory access like