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:
@@ -40,7 +40,7 @@ CodeGenFunction::CodeGenFunction(CodeGenModule &cgm, bool suppressNewContext)
|
||||
CurFn(nullptr), CapturedStmtInfo(nullptr),
|
||||
SanOpts(CGM.getLangOpts().Sanitize), IsSanitizerScope(false),
|
||||
CurFuncIsThunk(false), AutoreleaseResult(false), SawAsmBlock(false),
|
||||
BlockInfo(nullptr), BlockPointer(nullptr),
|
||||
IsSEHTryScope(false), BlockInfo(nullptr), BlockPointer(nullptr),
|
||||
LambdaThisCaptureField(nullptr), NormalCleanupDest(nullptr),
|
||||
NextCleanupDestIndex(1), FirstBlockInfo(nullptr), EHResumeBlock(nullptr),
|
||||
ExceptionSlot(nullptr), EHSelectorSlot(nullptr),
|
||||
|
||||
Reference in New Issue
Block a user