]> granicus.if.org Git - clang/commitdiff
Make the test less sensitive to DWARF emission implementation details.
authorEli Bendersky <eliben@google.com>
Thu, 29 Nov 2012 20:01:14 +0000 (20:01 +0000)
committerEli Bendersky <eliben@google.com>
Thu, 29 Nov 2012 20:01:14 +0000 (20:01 +0000)
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

test/CodeGenCXX/debug-info-pubtypes.cpp

index 612b6b500abca72023d246f73edb2cd71ac52451..6ca3da8674f304c0a5efc17ff58fd6c2c82d1b8a 100644 (file)
@@ -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: