[PATCH] D115695: Adapt test to be compatible with AIX
Jake Egan via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 14 06:26:20 PST 2021
Jake-Egan updated this revision to Diff 394232.
Jake-Egan edited the summary of this revision.
Jake-Egan added a comment.
Use RE to match `debug_info` or `dwinfo`.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D115695/new/
https://reviews.llvm.org/D115695
Files:
llvm/test/DebugInfo/Generic/debug-label.ll
Index: llvm/test/DebugInfo/Generic/debug-label.ll
===================================================================
--- llvm/test/DebugInfo/Generic/debug-label.ll
+++ llvm/test/DebugInfo/Generic/debug-label.ll
@@ -17,15 +17,15 @@
;
; ASM: [[TOP_LOW_PC:[.0-9a-zA-Z]+]]:{{[[:space:]].*}}DEBUG_LABEL: foo:top
; ASM: [[DONE_LOW_PC:[.0-9a-zA-Z]+]]:{{[[:space:]].*}}DEBUG_LABEL: foo:done
-; ASM-LABEL: debug_info
+; ASM-LABEL: {{debug_info|dwinfo}}
; ASM: DW_TAG_label
; ASM-NEXT: DW_AT_name
-; ASM-NEXT: 1 {{.*}} DW_AT_decl_file
+; ASM: 1 {{.*}} DW_AT_decl_file
; ASM-NEXT: 4 {{.*}} DW_AT_decl_line
; ASM-NEXT: [[TOP_LOW_PC]]{{.*}} DW_AT_low_pc
; ASM: DW_TAG_label
; ASM-NEXT: DW_AT_name
-; ASM-NEXT: 1 {{.*}} DW_AT_decl_file
+; ASM: 1 {{.*}} DW_AT_decl_file
; ASM-NEXT: 7 {{.*}} DW_AT_decl_line
; ASM-NEXT: [[DONE_LOW_PC]]{{.*}} DW_AT_low_pc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D115695.394232.patch
Type: text/x-patch
Size: 853 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211214/7c2ec472/attachment.bin>
More information about the llvm-commits
mailing list