diff options
author | Reid Kleckner <rnk@google.com> | 2015-10-08 01:13:52 +0000 |
---|---|---|
committer | Reid Kleckner <rnk@google.com> | 2015-10-08 01:13:52 +0000 |
commit | af74df2b286de555e2b26dbd3c8d888327a85ffb (patch) | |
tree | 38528ddbdb5790ced3330b84297aec9a394cefd7 /test/CodeGenCXX/microsoft-abi-eh-terminate.cpp | |
parent | a2ce7ac7a57b3839e3e5a0810fdfc90a73eed964 (diff) |
[WinEH] Remove NewMSEH and enable its behavior by default
Testing has shown that it is at least as reliable as the old landingpad
pattern matching code.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@249647 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenCXX/microsoft-abi-eh-terminate.cpp')
-rw-r--r-- | test/CodeGenCXX/microsoft-abi-eh-terminate.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/test/CodeGenCXX/microsoft-abi-eh-terminate.cpp b/test/CodeGenCXX/microsoft-abi-eh-terminate.cpp index cbc1686893..6d462bf7b0 100644 --- a/test/CodeGenCXX/microsoft-abi-eh-terminate.cpp +++ b/test/CodeGenCXX/microsoft-abi-eh-terminate.cpp @@ -6,10 +6,9 @@ void never_throws() noexcept(true) { may_throw(); } -// CHECK-LABEL: define void @"\01?never_throws@@YAXXZ" +// CHECK-LABEL: define void @"\01?never_throws@@YAXXZ"() +// CHECK-SAME: personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*) // CHECK: invoke void @"\01?may_throw@@YAXXZ"() - -// CHECK: landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*) -// MSVC2013: call void @"\01?terminate@@YAXXZ"() -// MSVC2015: call void @__std_terminate() +// MSVC2013: terminatepad [void ()* @"\01?terminate@@YAXXZ"] +// MSVC2015: terminatepad [void ()* @__std_terminate] // CHECK-NEXT: unreachable |