]> granicus.if.org Git - clang/commitdiff
Relax checks in cfi-cross-dso test.
authorEvgeniy Stepanov <eugeni.stepanov@gmail.com>
Tue, 15 Dec 2015 23:49:51 +0000 (23:49 +0000)
committerEvgeniy Stepanov <eugeni.stepanov@gmail.com>
Tue, 15 Dec 2015 23:49:51 +0000 (23:49 +0000)
The test is failing with unnamed labels.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@255712 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGenCXX/cfi-cross-dso.cpp

index e7e9f98ce590a320d7a979cf659207c01cff1c8a..fbe6fc83a5c3aa9539ce2aa45acbdb9772e4c33d 100644 (file)
@@ -33,11 +33,11 @@ void g() {
 // ITANIUM:   %[[TEST:.*]] = call i1 @llvm.bitset.test(i8* %[[VT2]], metadata !"_ZTS1A"), !nosanitize
 // MS:   %[[TEST:.*]] = call i1 @llvm.bitset.test(i8* %[[VT2]], metadata !"?AUA@@"), !nosanitize
 // CHECK:   br i1 %[[TEST]], label %[[CONT:.*]], label %[[SLOW:.*]], {{.*}} !nosanitize
-// CHECK: [[SLOW]]:
+// CHECK: [[SLOW]]
 // ITANIUM:   call void @__cfi_slowpath(i64 7004155349499253778, i8* %[[VT2]]) {{.*}} !nosanitize
 // MS:   call void @__cfi_slowpath(i64 -8005289897957287421, i8* %[[VT2]]) {{.*}} !nosanitize
 // CHECK:   br label %[[CONT]], !nosanitize
-// CHECK: [[CONT]]:
+// CHECK: [[CONT]]
 // CHECK:   call void %{{.*}}(%struct.A* %{{.*}})
 
 // No hash-based bit set entry for (anonymous namespace)::B