Add the 'noinline' attribute to call sites within __try bodies

LLVM doesn't support non-call exceptions, so inlining makes it harder to
catch such asynchronous exceptions.

llvm-svn: 228876
This commit is contained in:
Reid Kleckner
2015-02-11 21:40:48 +00:00
parent 59c8aa92b8
commit a593000f01
6 changed files with 25 additions and 6 deletions

View File

@@ -263,6 +263,9 @@ public:
/// potentially set the return value.
bool SawAsmBlock;
/// Codegen is currently inside an SEH try block.
bool IsSEHTryScope;
const CodeGen::CGBlockInfo *BlockInfo;
llvm::Value *BlockPointer;