summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/exceptions-seh.cpp
diff options
context:
space:
mode:
authorReid Kleckner <reid@kleckner.net>2015-02-11 00:00:21 +0000
committerReid Kleckner <reid@kleckner.net>2015-02-11 00:00:21 +0000
commite7b3f7c70d31ec34534586d2259868639c8fe175 (patch)
tree04a1e1b29f8becd64cbe2d4f0d6d3461b30de174 /clang/test/CodeGenCXX/exceptions-seh.cpp
parentbe6d1e49b0c58b5a28f0c8ca1e536c1157ca5666 (diff)
downloadbcm5719-llvm-e7b3f7c70d31ec34534586d2259868639c8fe175.tar.gz
bcm5719-llvm-e7b3f7c70d31ec34534586d2259868639c8fe175.zip
Emit landing pads for SEH even if nounwind is present
Disabling exceptions applies nounwind to lots of functions. SEH catches asynch exceptions, so emit the landing pad anyway. llvm-svn: 228769
Diffstat (limited to 'clang/test/CodeGenCXX/exceptions-seh.cpp')
-rw-r--r--clang/test/CodeGenCXX/exceptions-seh.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/CodeGenCXX/exceptions-seh.cpp b/clang/test/CodeGenCXX/exceptions-seh.cpp
index e76f0ea5c07..38d176b829f 100644
--- a/clang/test/CodeGenCXX/exceptions-seh.cpp
+++ b/clang/test/CodeGenCXX/exceptions-seh.cpp
@@ -2,7 +2,7 @@
// RUN: -o - -mconstructor-aliases -fcxx-exceptions -fexceptions | \
// RUN: FileCheck %s --check-prefix=CHECK --check-prefix=CXXEH
// RUN: %clang_cc1 -std=c++11 -fblocks -fms-extensions %s -triple=x86_64-windows-msvc -emit-llvm \
-// RUN: -o - -mconstructor-aliases | \
+// RUN: -o - -mconstructor-aliases -O1 -disable-llvm-optzns | \
// RUN: FileCheck %s --check-prefix=CHECK --check-prefix=NOCXX
extern "C" void might_throw();
OpenPOWER on IntegriCloud