diff options
author | Reid Kleckner <rnk@google.com> | 2016-03-11 17:36:16 +0000 |
---|---|---|
committer | Reid Kleckner <rnk@google.com> | 2016-03-11 17:36:16 +0000 |
commit | e10b601537255079e2231dae7e77df1acd6bd475 (patch) | |
tree | bebed2419c0b5aa28ba4f89adca1c89cf12273ff /clang/lib/CodeGen | |
parent | e6a5231628fbaa062d88c2c6d9b2312c675167cf (diff) | |
download | bcm5719-llvm-e10b601537255079e2231dae7e77df1acd6bd475.tar.gz bcm5719-llvm-e10b601537255079e2231dae7e77df1acd6bd475.zip |
[SEH] Remove nounwind/noinline from outlined finally funclets
With the new EH representation this is no longer necessary.
llvm-svn: 263269
Diffstat (limited to 'clang/lib/CodeGen')
-rw-r--r-- | clang/lib/CodeGen/CGException.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/clang/lib/CodeGen/CGException.cpp b/clang/lib/CodeGen/CGException.cpp index 0a12d1b3a51..4a7dc4205e0 100644 --- a/clang/lib/CodeGen/CGException.cpp +++ b/clang/lib/CodeGen/CGException.cpp @@ -1708,12 +1708,6 @@ CodeGenFunction::GenerateSEHFinallyFunction(CodeGenFunction &ParentCGF, const Stmt *FinallyBlock = Finally.getBlock(); startOutlinedSEHHelper(ParentCGF, false, FinallyBlock); - // Mark finally block calls as nounwind and noinline to make LLVM's job a - // little easier. - // FIXME: Remove these restrictions in the future. - CurFn->addFnAttr(llvm::Attribute::NoUnwind); - CurFn->addFnAttr(llvm::Attribute::NoInline); - // Emit the original filter expression, convert to i32, and return. EmitStmt(FinallyBlock); |