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

James Henderson via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 3 00:31:53 PDT 2025


jh7370 wrote:

> How about we rename to `evaluateAddress` since that is the core thing being done regardless of the fact the some targets are only doing it for branch instructions

Well it's not the address as such that is being evaluated, especially as the existing `evaluateBranch` method has both `Addr` and `Target` parameters. In fact, I'm not convinced "evaluate" is the right term at all. How about simply `findTargetAddress`?

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


More information about the llvm-commits mailing list