[llvm] [feature][riscv] handle target address calculation in llvm-objdump disassembly for riscv (PR #144620)

Arjun Patel via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 24 10:55:06 PDT 2025


arjunUpatel wrote:

Got it. Yes, relocations are sufficient to ensure proper functionality. All that `llvm-objdump` is doing is searching the sections around the target address and printing a resolution relative to the first symbol found. As long as the immediate value emitted for the sequence of instructions point to the correct address, we should be good.

https://github.com/llvm/llvm-project/pull/144620


More information about the llvm-commits mailing list