diff options
| author | Duncan Sands <baldrick@free.fr> | 2010-05-02 15:36:26 +0000 |
|---|---|---|
| committer | Duncan Sands <baldrick@free.fr> | 2010-05-02 15:36:26 +0000 |
| commit | 211427bda9e3537c651db35f09ccd07406e7b543 (patch) | |
| tree | 10ce8da9ad44ebd6306a188492f1dc748b65fffd /llvm/lib/Target/TargetMachine.cpp | |
| parent | 2718b4d757494cdc33593827c690bb6fc5b5b5ac (diff) | |
| download | bcm5719-llvm-211427bda9e3537c651db35f09ccd07406e7b543.tar.gz bcm5719-llvm-211427bda9e3537c651db35f09ccd07406e7b543.zip | |
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.
llvm-svn: 102865
Diffstat (limited to 'llvm/lib/Target/TargetMachine.cpp')
| -rw-r--r-- | llvm/lib/Target/TargetMachine.cpp | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/llvm/lib/Target/TargetMachine.cpp b/llvm/lib/Target/TargetMachine.cpp index d90755a3b33..ac67c91f170 100644 --- a/llvm/lib/Target/TargetMachine.cpp +++ b/llvm/lib/Target/TargetMachine.cpp @@ -36,8 +36,7 @@ namespace llvm { FloatABI::ABIType FloatABIType; bool NoImplicitFloat; bool NoZerosInBSS; - bool DwarfExceptionHandling; - bool SjLjExceptionHandling; + bool JITExceptionHandling; bool JITEmitDebugInfo; bool JITEmitDebugInfoToDisk; bool UnwindTablesMandatory; @@ -115,14 +114,9 @@ DontPlaceZerosInBSS("nozero-initialized-in-bss", cl::location(NoZerosInBSS), cl::init(false)); static cl::opt<bool, true> -EnableDwarfExceptionHandling("enable-eh", - cl::desc("Emit DWARF exception handling (default if target supports)"), - cl::location(DwarfExceptionHandling), - cl::init(false)); -static cl::opt<bool, true> -EnableSjLjExceptionHandling("enable-sjlj-eh", - cl::desc("Emit SJLJ exception handling (default if target supports)"), - cl::location(SjLjExceptionHandling), +EnableJITExceptionHandling("jit-enable-eh", + cl::desc("Emit exception handling information"), + cl::location(JITExceptionHandling), cl::init(false)); // In debug builds, make this default to true. #ifdef NDEBUG |

