[llvm-branch-commits] [llvm] [dwarf] make dwarf fission compatible with RISCV relaxations 1/2 (PR #164812)
David Blaikie via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Thu Oct 23 12:04:26 PDT 2025
================
@@ -3394,7 +3397,46 @@ static void emitRangeList(DwarfDebug &DD, AsmPrinter *Asm, const Ranges &R,
Asm->OutStreamer->emitIntValue(0, Size);
}
- for (const auto *RS : P.second) {
+ if (DD.useSplitDwarf() && UseDwarf5) {
+ // In .dwo files, we must ensure no relocations are present. For
----------------
dwblaikie wrote:
Rather than having two loops and filtering - could this be inside the one/pre-existing loop, and choose which encoding to use there?
https://github.com/llvm/llvm-project/pull/164812
More information about the llvm-branch-commits
mailing list