[llvm] [LoongArch] Add relaxDwarfLineAddr and relaxDwarfCFA to handle the mutable label diff in dwarfinfo (PR #77728)

Lu Weining via llvm-commits llvm-commits at lists.llvm.org
Sun Jan 14 22:47:30 PST 2024


================
@@ -0,0 +1,128 @@
+; RUN: llc --filetype=obj --mtriple=loongarch64 --mattr=-relax %s -o %t.o
+; RUN: llvm-readobj -r %t.o | FileCheck -check-prefixes=RELOCS-BOTH,RELOCS-NORL %s
+; RUN: llvm-objdump --source %t.o | FileCheck --check-prefix=SOURCE %s
+; RUN: llvm-dwarfdump --debug-info --debug-line %t.o | FileCheck -check-prefix=DWARF %s
----------------
SixWeining wrote:

`--check-prefix`

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


More information about the llvm-commits mailing list