================
@@ -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
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to