[llvm-branch-commits] [llvm] [dwarf] make dwarf fission compatible with RISCV relaxations 2/2 (PR #164813)
David Blaikie via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Thu Oct 23 11:59:39 PDT 2025
================
@@ -49,60 +50,75 @@
; clang -g -S -gsplit-dwarf --target=riscv64 -march=rv64gc -O0 relax_dwo_ranges.cpp
-; Currently, square() still uses an offset to represent the function's end address,
-; which requires a relocation here.
-; RELOCS: warning: unexpected relocations for dwo section '.debug_info.dwo'
+; RELOCS-NOT: warning: unexpected relocations for dwo section '.debug_info.dwo'
----------------
dwblaikie wrote:
For `-NOT` checks I'd try to keep the text matching as vague as possible, so the check is less likely to bit-rot if someone changes the wording and then the thing regresses.
like maybe `RELOCS-NOT: warning:`?
https://github.com/llvm/llvm-project/pull/164813
More information about the llvm-branch-commits
mailing list