[PATCH] D70578: [Object][RISCV][test] Improve DebugInfo/RISCV/relax-debug-frame.ll
Fangrui Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 26 09:18:49 PST 2019
This revision was automatically updated to reflect the committed changes.
Closed by commit rGcd9c915d2ac0: [Object][RISCV][test] Improve DebugInfo/RISCV/relax-debug-frame.ll (authored by MaskRay).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D70578/new/
https://reviews.llvm.org/D70578
Files:
llvm/test/DebugInfo/RISCV/relax-debug-frame.ll
Index: llvm/test/DebugInfo/RISCV/relax-debug-frame.ll
===================================================================
--- llvm/test/DebugInfo/RISCV/relax-debug-frame.ll
+++ llvm/test/DebugInfo/RISCV/relax-debug-frame.ll
@@ -1,19 +1,15 @@
-; RUN: llc -filetype=obj -mtriple=riscv32 -mattr=+relax %s -o - \
-; RUN: | llvm-readobj -r | FileCheck -check-prefix=RELAX %s
-; RUN: llc -filetype=obj -mtriple=riscv32 -mattr=+relax %s -o - \
-; RUN: | llvm-dwarfdump --debug-frame - 2>&1 \
+; RUN: llc -filetype=obj -mtriple=riscv32 -mattr=+relax %s -o %t.o
+; RUN: llvm-readobj -r %t.o | FileCheck -check-prefix=RELAX %s
+; RUN: llvm-dwarfdump --debug-frame %t.o 2>&1 \
; RUN: | FileCheck -check-prefix=RELAX-DWARFDUMP %s
;
-; RELAX: Section{{.*}}.rela.{{eh|debug}}_frame {
-; RELAX-NOT: {{[}]}}
-; RELAX-NOT: 0x0 R_RISCV_ADD32
-; RELAX-NOT: 0x0 R_RISCV_SUB32
-; RELAX-NOT: {{[}]}}
-; RELAX: 0x20 R_RISCV_ADD32
-; RELAX: 0x20 R_RISCV_SUB32
-; RELAX-NOT: {{[}]}}
-; RELAX: 0x39 R_RISCV_SET6
-; RELAX: 0x39 R_RISCV_SUB6
+; RELAX: Section ({{.*}}) .rela.eh_frame {
+; RELAX-NEXT: 0x1C R_RISCV_32_PCREL - 0x0
+; RELAX-NEXT: 0x20 R_RISCV_ADD32 - 0x0
+; RELAX-NEXT: 0x20 R_RISCV_SUB32 - 0x0
+; RELAX-NOT: }
+; RELAX: 0x39 R_RISCV_SET6 - 0x0
+; RELAX-NEXT: 0x39 R_RISCV_SUB6 - 0x0
;
; RELAX-DWARFDUMP-NOT: error: failed to compute relocation
; RELAX-DWARFDUMP: CIE
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D70578.231088.patch
Type: text/x-patch
Size: 1392 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191126/af22d7a8/attachment.bin>
More information about the llvm-commits
mailing list