[PATCH] [SEH] Implement filter capturing in CodeGen
David Majnemer
david.majnemer at gmail.com
Fri Apr 3 17:06:13 PDT 2015
================
Comment at: lib/CodeGen/CGException.cpp:1363-1364
@@ +1362,4 @@
+ ConstStmtVisitor<CaptureFinder>::Visit(S);
+ for (Stmt::const_child_range CI = S->children(); CI; ++CI)
+ Visit(*CI);
+ }
----------------
Range-based for?
================
Comment at: lib/CodeGen/CGException.cpp:1409-1412
@@ +1408,6 @@
+ }
+ if (VD->getType()->isVariablyModifiedType()) {
+ CGM.ErrorUnsupported(VD, "VLA captured by SEH");
+ continue;
+ }
+
----------------
Why is this forbidden? Can't we just capture the address of the VLA?
http://reviews.llvm.org/D8825
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
More information about the cfe-commits
mailing list