[PATCH] D55543: [CodeGen] Fix assertion on throwing object with inlined inherited constructor and non-trivial destructor.

John McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 18 12:04:05 PST 2018


rjmccall added inline comments.


================
Comment at: clang/test/CodeGenObjCXX/inheriting-constructor-cleanup.mm:25
+// CHECK-LABEL: define void @_Z1fv
+// CHECK: call void (%struct.Base*, i8*, ...) @_ZN4BaseC2E6Strongz(%struct.Base* {{.*}}, i8* {{.*}})
+// CHECK-NEXT: call void @_ZN9InheritorD1Ev(%struct.Inheritor* {{.*}})
----------------
Can you include checks for all the calls in this function, with CHECK-NOTs to prove that there aren't any other calls?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D55543/new/

https://reviews.llvm.org/D55543





More information about the cfe-commits mailing list