summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2010-05-02 15:36:26 +0000
committerDuncan Sands <baldrick@free.fr>2010-05-02 15:36:26 +0000
commit57b6e9eb6ccb757b74beeb377c7c16d08468d3e8 (patch)
treefcab3a667087b5e0ae19ebe62c5f92d0702ef7dc /tools
parent241d3fea7a894014a65d3d99db1d429b871f3fce (diff)
downloadllvm-57b6e9eb6ccb757b74beeb377c7c16d08468d3e8.tar.gz
llvm-57b6e9eb6ccb757b74beeb377c7c16d08468d3e8.tar.bz2
llvm-57b6e9eb6ccb757b74beeb377c7c16d08468d3e8.tar.xz
Remove the -enable-sjlj-eh option, which doesn't do anything.
Remove the -enable-eh option which is only used by the JIT, and replace it with -jit-enable-eh. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@102865 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-rw-r--r--tools/lto/LTOCodeGenerator.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/tools/lto/LTOCodeGenerator.cpp b/tools/lto/LTOCodeGenerator.cpp
index 0eb9a48d0d..10105921c4 100644
--- a/tools/lto/LTOCodeGenerator.cpp
+++ b/tools/lto/LTOCodeGenerator.cpp
@@ -353,20 +353,6 @@ bool LTOCodeGenerator::generateAssemblyCode(formatted_raw_ostream& out,
Module* mergedModule = _linker.getModule();
- // If target supports exception handling then enable it now.
- switch (_target->getMCAsmInfo()->getExceptionHandlingType()) {
- case ExceptionHandling::Dwarf:
- llvm::DwarfExceptionHandling = true;
- break;
- case ExceptionHandling::SjLj:
- llvm::SjLjExceptionHandling = true;
- break;
- case ExceptionHandling::None:
- break;
- default:
- assert (0 && "Unknown exception handling model!");
- }
-
// if options were requested, set them
if ( !_codegenOptions.empty() )
cl::ParseCommandLineOptions(_codegenOptions.size(),