[PATCH] [ms-cxxabi] Destroy temporary record arguments in the callee
Reid Kleckner
rnk at google.com
Thu Jun 6 10:38:20 PDT 2013
================
Comment at: lib/CodeGen/CGCall.cpp:2028
@@ -2022,2 +2027,3 @@
cast<CastExpr>(E)->getCastKind() == CK_LValueToRValue) {
+ assert(!calleeDestructed && "not sure how to lower this correctly");
LValue L = EmitLValue(cast<CastExpr>(E)->getSubExpr());
----------------
Oh, I forgot to fix that before sending. I'll see if I can figure out how to test it.
http://llvm-reviews.chandlerc.com/D929
More information about the cfe-commits
mailing list