[cfe-commits] r130813 - /cfe/trunk/test/CodeGenCXX/cxx0x-delegating-ctors.cpp
Sean Hunt
scshunt at csclub.uwaterloo.ca
Tue May 3 17:59:33 PDT 2011
Author: coppro
Date: Tue May 3 19:59:33 2011
New Revision: 130813
URL: http://llvm.org/viewvc/llvm-project?rev=130813&view=rev
Log:
Fix the delegating constructors test to not rely on basic block names.
Modified:
cfe/trunk/test/CodeGenCXX/cxx0x-delegating-ctors.cpp
Modified: cfe/trunk/test/CodeGenCXX/cxx0x-delegating-ctors.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/cxx0x-delegating-ctors.cpp?rev=130813&r1=130812&r2=130813&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenCXX/cxx0x-delegating-ctors.cpp (original)
+++ cfe/trunk/test/CodeGenCXX/cxx0x-delegating-ctors.cpp Tue May 3 19:59:33 2011
@@ -29,13 +29,13 @@
// CHECK: define void @_ZN9delegatorC1Ec
// CHECK: void @_ZN9delegatorC1Eb
// CHECK: void @__cxa_throw
-// CHECK: lpad
+// CHECK: void @_ZSt9terminatev
// CHECK: void @_ZN9delegatorD1Ev
// CHECK: define void @_ZN9delegatorC2Ec
// CHECK: void @_ZN9delegatorC2Eb
// CHECK: void @__cxa_throw
-// CHECK: lpad
-// CHECK: invoke void @_ZN9delegatorD2Ev
+// CHECK: void @_ZSt9terminatev
+// CHECK: void @_ZN9delegatorD2Ev
delegator::delegator(char)
: delegator(true) {
throw 0;
@@ -43,14 +43,14 @@
// CHECK: define void @_ZN9delegatorC1Ei
// CHECK: void @_ZN9delegatorC1Ev
-// CHECK-NOT: lpad
+// CHECK-NOT: void @_ZSt9terminatev
// CHECK: ret
-// CHECK-NOT: lpad
+// CHECK-NOT: void @_ZSt9terminatev
// CHECK: define void @_ZN9delegatorC2Ei
// CHECK: void @_ZN9delegatorC2Ev
-// CHECK-NOT: lpad
+// CHECK-NOT: void @_ZSt9terminatev
// CHECK: ret
-// CHECK-NOT: lpad
+// CHECK-NOT: void @_ZSt9terminatev
delegator::delegator(int)
: delegator()
{}
More information about the cfe-commits
mailing list