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

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 4 11:22:05 PDT 2025


================
@@ -181,6 +181,11 @@ class MCInstrAnalysis {
   evaluateBranch(const MCInst &Inst, uint64_t Addr, uint64_t Size,
                  uint64_t &Target) const;
 
+  /// Given an instruction that accesses a menory address, try to compute
+  /// the target address. Return true success, and the address in Target.
----------------
topperc wrote:

```suggestion
  /// the target address. Return true on success, and the address in \p Target.
```

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


More information about the llvm-commits mailing list