]> granicus.if.org Git - llvm/commitdiff
[DebugInfo] Fix build failed in 'clang-cmake-armv8-full'.
authorHsiangkai Wang <hsiangkai@gmail.com>
Tue, 31 Jul 2018 16:22:09 +0000 (16:22 +0000)
committerHsiangkai Wang <hsiangkai@gmail.com>
Tue, 31 Jul 2018 16:22:09 +0000 (16:22 +0000)
Builder clang-cmake-armv8-full failed due to the assembly 'comment'
notation is not '#' in the target. So, I use CHECK-SAME to avoid to
check the comment notation in the same line in the test case.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@338398 91177308-0d34-0410-b5e6-96231b3b80d8

test/DebugInfo/Generic/debug-label.ll

index 054538982db1c67adf1a1ff9df3681aa44ea1de8..ccff906b53964f92e235506d6456085296f6c439 100644 (file)
 ; ASM: [[DONE_LABEL:[.0-9a-zA-Z]+]]:{{[[:space:]].*}}"done"
 ; ASM-LABEL: .debug_info
 ; ASM: DW_TAG_label
-; ASM-NEXT: [[TOP_LABEL]] # DW_AT_name
-; ASM-NEXT: 1 # DW_AT_decl_file
-; ASM-NEXT: 4 # DW_AT_decl_line
-; ASM-NEXT: [[TOP_LOW_PC]] # DW_AT_low_pc
+; ASM-NEXT: [[TOP_LABEL]]
+; ASM-SAME: DW_AT_name
+; ASM-NEXT: 1
+; ASM-SAME: DW_AT_decl_file
+; ASM-NEXT: 4
+; ASM-SAME: DW_AT_decl_line
+; ASM-NEXT: [[TOP_LOW_PC]]
+; ASM-SAME: DW_AT_low_pc
 ; ASM: DW_TAG_label
-; ASM-NEXT: [[DONE_LABEL]] # DW_AT_name
-; ASM-NEXT: 1 # DW_AT_decl_file
-; ASM-NEXT: 7 # DW_AT_decl_line
-; ASM-NEXT: [[DONE_LOW_PC]] # DW_AT_low_pc
+; ASM-NEXT: [[DONE_LABEL]]
+; ASM-SAME: DW_AT_name
+; ASM-NEXT: 1
+; ASM-SAME: DW_AT_decl_file
+; ASM-NEXT: 7
+; ASM-SAME: DW_AT_decl_line
+; ASM-NEXT: [[DONE_LOW_PC]]
+; ASM-SAME: DW_AT_low_pc
 
 source_filename = "debug-label.c"