summaryrefslogtreecommitdiffstats
path: root/test/CodeGenCXX/exceptions-cxx-new.cpp
diff options
context:
space:
mode:
authorDavid Majnemer <david.majnemer@gmail.com>2016-02-24 17:02:45 +0000
committerDavid Majnemer <david.majnemer@gmail.com>2016-02-24 17:02:45 +0000
commit9969e0a28fd4d767170da85ed56f328ad3645084 (patch)
tree7625202148a003d3e198ced49d739dce5607902d /test/CodeGenCXX/exceptions-cxx-new.cpp
parent50f99ff2795394b5bef9e744251978f2eb9dcf09 (diff)
[WinEH] Make sure terminate handlers have funclet operands
Calls to the terminate handler must be annotated within the exception region they are within. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@261751 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenCXX/exceptions-cxx-new.cpp')
-rw-r--r--test/CodeGenCXX/exceptions-cxx-new.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGenCXX/exceptions-cxx-new.cpp b/test/CodeGenCXX/exceptions-cxx-new.cpp
index 3123d788fc..3329aea32e 100644
--- a/test/CodeGenCXX/exceptions-cxx-new.cpp
+++ b/test/CodeGenCXX/exceptions-cxx-new.cpp
@@ -72,6 +72,6 @@ void test_cleanup() {
// CHECK: ret void
// CHECK: [[TERMINATE]]
-// CHECK: cleanuppad within none []
-// CHECK-NEXT: call void @"\01?terminate@@YAXXZ"()
+// CHECK: %[[CLEANUPPAD:.*]] = cleanuppad within none []
+// CHECK-NEXT: call void @"\01?terminate@@YAXXZ"() {{.*}} [ "funclet"(token %[[CLEANUPPAD]]) ]