rnk added a subscriber: rnk.
================
Comment at: lib/CodeGen/CGClass.cpp:1456
@@ +1455,3 @@
+ if (CGM.getCodeGenOpts().SanitizeMemoryUseAfterDtor) {
+ const ASTRecordLayout &Layout =
+ getContext().getASTRecordLayout(Dtor->getParent());
----------------
Would you mind factoring this out to a helper function? Most readers of clang
irgen probably aren't interested in this instrumentation.
http://reviews.llvm.org/D11109
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits