From: Eli Bendersky Date: Thu, 29 Nov 2012 20:01:14 +0000 (+0000) Subject: Make the test less sensitive to DWARF emission implementation details. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2ec5f551cc455df30183e796a91498c5325b17f2;p=clang Make the test less sensitive to DWARF emission implementation details. Note: the ":" goes into the regex because FileCheck wrongly complains about unbalanced brackets otherwise. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@168934 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CodeGenCXX/debug-info-pubtypes.cpp b/test/CodeGenCXX/debug-info-pubtypes.cpp index 612b6b500a..6ca3da8674 100644 --- a/test/CodeGenCXX/debug-info-pubtypes.cpp +++ b/test/CodeGenCXX/debug-info-pubtypes.cpp @@ -3,10 +3,10 @@ // RUN: FileCheck %s < %t // FIXME: This testcase shouldn't rely on assembly emission. -//CHECK: Lpubtypes_begin1: +//CHECK: Lpubtypes_begin[[SECNUM:[0-9]:]] //CHECK: .asciz "G" //CHECK-NEXT: .long 0 -//CHECK-NEXT: Lpubtypes_end1: +//CHECK-NEXT: Lpubtypes_end[[SECNUM]] class G { public: