[PATCH] D13373: Emiting invariant.group.barrier for ctors bugfix

NAKAMURA Takumi via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 2 17:54:39 PDT 2015


chapuni added a subscriber: chapuni.

================
Comment at: test/CodeGenCXX/strict-vtable-pointers.cpp:145
@@ +144,3 @@
+// CHECK-CTORS: %[[THIS3:.*]] = bitcast i8* %[[THIS2]] to %[[DynamicDerived]]*
+// CHECK-CTORS: %[[THIS4:.*]] = bitcast %[[DynamicDerived]]* %2 to %[[DynamicBase:.*]]*
+// CHECK-CTORS: call void @_ZN12DynamicBase1C2Ev(%[[DynamicBase]]* %[[THIS4]])
----------------
You missed "%2" (should be THIS3). Fixed in r249223.


http://reviews.llvm.org/D13373





More information about the cfe-commits mailing list