summaryrefslogtreecommitdiffstats
path: root/llvm/examples
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
commit211427bda9e3537c651db35f09ccd07406e7b543 (patch)
tree10ce8da9ad44ebd6306a188492f1dc748b65fffd /llvm/examples
parent2718b4d757494cdc33593827c690bb6fc5b5b5ac (diff)
downloadbcm5719-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/examples')
-rw-r--r--llvm/examples/ExceptionDemo/ExceptionDemo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/examples/ExceptionDemo/ExceptionDemo.cpp b/llvm/examples/ExceptionDemo/ExceptionDemo.cpp
index e3192bbed57..bbca9637076 100644
--- a/llvm/examples/ExceptionDemo/ExceptionDemo.cpp
+++ b/llvm/examples/ExceptionDemo/ExceptionDemo.cpp
@@ -1948,7 +1948,7 @@ int main(int argc, char* argv[]) {
}
// If not set, exception handling will not be turned on
- llvm::DwarfExceptionHandling = true;
+ llvm::JITExceptionHandling = true;
llvm::InitializeNativeTarget();
llvm::LLVMContext& context = llvm::getGlobalContext();
OpenPOWER on IntegriCloud