aboutsummaryrefslogtreecommitdiffstats
path: root/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
commitd548f6bf8357ec9d0547138772ab35a54666fc45 (patch)
treefcab3a667087b5e0ae19ebe62c5f92d0702ef7dc /examples
parentd1f4444a2771d243ed518e46f9342882dbf69306 (diff)
downloadexternal_llvm-d548f6bf8357ec9d0547138772ab35a54666fc45.zip
external_llvm-d548f6bf8357ec9d0547138772ab35a54666fc45.tar.gz
external_llvm-d548f6bf8357ec9d0547138772ab35a54666fc45.tar.bz2
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 'examples')
-rw-r--r--examples/ExceptionDemo/ExceptionDemo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/ExceptionDemo/ExceptionDemo.cpp b/examples/ExceptionDemo/ExceptionDemo.cpp
index e3192bb..bbca963 100644
--- a/examples/ExceptionDemo/ExceptionDemo.cpp
+++ b/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();