[llvm] [RFC][BOLT][RISCV] Preserve AUIPC Offset for DWARF Scope Boundaries (PR #221116)

Alexander Wilson via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 9 19:07:44 PDT 2026


rdtscp wrote:

@Thrrreeee I have updated this PR after your fix, altered it a bit and titled it RFC.
I am still learning about DWARF myself, but I observed `llvm-dwarfdump --verify` fail on my use-case for multiple reasons. My understanding is that we need to map the original AUIPC address to the rewritten call’s output label to build the precise input-to-output address map used to translate DWARF scope boundaries.

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


More information about the llvm-commits mailing list