diff options
author | Mark Seaborn <mseaborn@chromium.org> | 2014-03-20 19:54:47 +0000 |
---|---|---|
committer | Mark Seaborn <mseaborn@chromium.org> | 2014-03-20 19:54:47 +0000 |
commit | b6118c5b1771d889d2bb6c63b45938769ac34755 (patch) | |
tree | c0c58211c0d3f6cf888c4efb025ca44e70ef66b6 /llvm/lib/CodeGen | |
parent | bb8345b7916fa9de00b5d545f9daf7c7f848105b (diff) | |
download | bcm5719-llvm-b6118c5b1771d889d2bb6c63b45938769ac34755.tar.gz bcm5719-llvm-b6118c5b1771d889d2bb6c63b45938769ac34755.zip |
Remove LowerInvoke's obsolete "-enable-correct-eh-support" option
This option caused LowerInvoke to generate code using SJLJ-based
exception handling, but there is no code left that interprets the
jmp_buf stack that the resulting code maintained (llvm.sjljeh.jblist).
This option has been obsolete for a while, and replaced by
SjLjEHPrepare.
This leaves the default behaviour of LowerInvoke, which is to convert
invokes to calls.
Differential Revision: http://llvm-reviews.chandlerc.com/D3136
llvm-svn: 204388
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r-- | llvm/lib/CodeGen/Passes.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/Passes.cpp b/llvm/lib/CodeGen/Passes.cpp index 7a7c42bfcc6..080b20dd31d 100644 --- a/llvm/lib/CodeGen/Passes.cpp +++ b/llvm/lib/CodeGen/Passes.cpp @@ -423,7 +423,7 @@ void TargetPassConfig::addPassesToHandleExceptions() { addPass(createDwarfEHPass(TM)); break; case ExceptionHandling::None: - addPass(createLowerInvokePass(TM)); + addPass(createLowerInvokePass()); // The lower invoke pass may create unreachable code. Remove it. addPass(createUnreachableBlockEliminationPass()); |