summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/exceptions-cxx-new.cpp
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2015-09-16 20:15:55 +0000
committerReid Kleckner <rnk@google.com>2015-09-16 20:15:55 +0000
commit10aa77032de43681231e81ee3f2e7d232b16dc9c (patch)
tree1a1bcae8633d6ba6a4753bbc7573c515ece19467 /clang/test/CodeGenCXX/exceptions-cxx-new.cpp
parent7d7ca2f2ba68340be3d5927f7e8c68d984638053 (diff)
downloadbcm5719-llvm-10aa77032de43681231e81ee3f2e7d232b16dc9c.tar.gz
bcm5719-llvm-10aa77032de43681231e81ee3f2e7d232b16dc9c.zip
[WinEH] Pass the catch adjectives to catchpad directly
This avoids building a fake LLVM IR global variable just to ferry an i32 down into LLVM codegen. It also puts a nail in the coffin of using MS ABI C++ EH with landingpads, since now we'll assert in the lpad code when flags are present. llvm-svn: 247843
Diffstat (limited to 'clang/test/CodeGenCXX/exceptions-cxx-new.cpp')
-rw-r--r--clang/test/CodeGenCXX/exceptions-cxx-new.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/CodeGenCXX/exceptions-cxx-new.cpp b/clang/test/CodeGenCXX/exceptions-cxx-new.cpp
index b2603ccf022..182bda1f545 100644
--- a/clang/test/CodeGenCXX/exceptions-cxx-new.cpp
+++ b/clang/test/CodeGenCXX/exceptions-cxx-new.cpp
@@ -17,7 +17,7 @@ void test_catch() {
// CHECK: to label %[[NORMAL:.*]] unwind label %[[CATCH_INT:.*]]
// CHECK: [[CATCH_INT]]
-// CHECK: %[[CATCHPAD_INT:.*]] = catchpad [{{.*}} @llvm.eh.handlertype.H.0, i8* null]
+// CHECK: %[[CATCHPAD_INT:.*]] = catchpad [%rtti.TypeDescriptor2* @"\01??_R0H@8", i32 0, i8* null]
// CHECK: to label %[[CATCH_INT_HANDLER:.*]] unwind label %[[CATCH_DOUBLE:.*]]
// CHECK: [[CATCH_INT_HANDLER]]
@@ -34,7 +34,7 @@ void test_catch() {
// CHECK: ret void
// CHECK: [[CATCH_DOUBLE]]
-// CHECK: %[[CATCHPAD_DOUBLE:.*]] = catchpad [{{.*}} @llvm.eh.handlertype.N.0, i8* null]
+// CHECK: %[[CATCHPAD_DOUBLE:.*]] = catchpad [%rtti.TypeDescriptor2* @"\01??_R0N@8", i32 0, i8* null]
// CHECK: to label %[[CATCH_DOUBLE_HANDLER:.*]] unwind label %[[CATCHENDPAD]]
// CHECK: [[CATCH_DOUBLE_HANDLER]]
OpenPOWER on IntegriCloud