aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Bendersky <eliben@google.com>2012-11-29 20:01:14 +0000
committerEli Bendersky <eliben@google.com>2012-11-29 20:01:14 +0000
commit2ec5f551cc455df30183e796a91498c5325b17f2 (patch)
treee38122f14c52c2d1430aa305ea56d0400f8279c8
parent6716d9443d5d13f4f49a39b9d02f2e256cb83a97 (diff)
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
-rw-r--r--test/CodeGenCXX/debug-info-pubtypes.cpp4
1 files changed, 2 insertions, 2 deletions
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: