forked from OSchip/llvm-project
[DebugInfo] Fix build failed in 'clang-cmake-armv8-full'.
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. llvm-svn: 338398
This commit is contained in:
parent
3ae770aa2b
commit
68c6860434
|
@ -21,15 +21,23 @@
|
|||
; 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"
|
||||
|
||||
|
|
Loading…
Reference in New Issue