[PATCH] D13304: Avoid inlining in throw statement

Chad Rosier via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 1 07:45:33 PDT 2015


mcrosier added a comment.

FWIW, a llvm based solution was discussed in http://reviews.llvm.org/D12979, but the clang solution is obviously more robust and easier to implement.


================
Comment at: lib/CodeGen/CodeGenFunction.h:287
@@ +286,3 @@
+  // True if the current insertion point is in cold regions (e.g., exception
+  // handling regions). As of now, this flag is ture only when handling throw
+  // statement.
----------------
ture -> true


http://reviews.llvm.org/D13304





More information about the cfe-commits mailing list