[PATCH] D12979: Avoid inlining in exception handling context
Jun Bum Lim via cfe-commits
cfe-commits at lists.llvm.org
Wed Sep 30 08:36:53 PDT 2015
junbuml added a comment.
In this clang change, I added a state flag (bool IsColdRegion) in CodeGenFunction and set/reset the flag in EmitCXXThrowExpr(). In EmitCall(), the NoInline attribute would be added if IsColdRegion is true. As of now, this change only handles throw statements because I don't have any data / test for catch blocks yet.
http://reviews.llvm.org/D12979
More information about the cfe-commits
mailing list