From: Duncan P. N. Exon Smith Date: Sun, 24 May 2015 16:10:35 +0000 (+0000) Subject: DebugInfo: Clarify test/DebugInfo/X86/stmt-list-multiple-compile-units.ll X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=237137532ad4c0c160d29be4cf4835712603ad69;p=oota-llvm.git DebugInfo: Clarify test/DebugInfo/X86/stmt-list-multiple-compile-units.ll This test was relying on the numbering of preceding .set directives, but an upcoming commit is going to remove some of them. Make the CHECKs more nuanced. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@238113 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/DebugInfo/X86/stmt-list-multiple-compile-units.ll b/test/DebugInfo/X86/stmt-list-multiple-compile-units.ll index a79911fa2f6..86a1647d6fa 100644 --- a/test/DebugInfo/X86/stmt-list-multiple-compile-units.ll +++ b/test/DebugInfo/X86/stmt-list-multiple-compile-units.ll @@ -51,11 +51,13 @@ ; PR15408 ; ASM: Lcu_begin0: -; ASM: Lset3 = Lline_table_start0-Lsection_line ## DW_AT_stmt_list -; ASM-NEXT: .long Lset3 +; ASM-NOT: Lcu_begin +; ASM: Lset[[LT:[0-9]+]] = Lline_table_start0-Lsection_line ## DW_AT_stmt_list +; ASM-NEXT: .long Lset[[LT]] ; ASM: Lcu_begin1: -; ASM: Lset13 = Lline_table_start0-Lsection_line ## DW_AT_stmt_list -; ASM-NEXT: .long Lset13 +; ASM-NOT: Lcu_begin +; ASM: Lset[[LT:[0-9]+]] = Lline_table_start0-Lsection_line ## DW_AT_stmt_list +; ASM-NEXT: .long Lset[[LT]] define i32 @test(i32 %a) nounwind uwtable ssp { entry: %a.addr = alloca i32, align 4