diff options
author | Reid Kleckner <rnk@google.com> | 2015-09-16 22:14:46 +0000 |
---|---|---|
committer | Reid Kleckner <rnk@google.com> | 2015-09-16 22:14:46 +0000 |
commit | 813f1b65bc131b211ec5fef10ad47abc0488192d (patch) | |
tree | 50945af80e2c6413233a92517adee7ef46a14ba0 /llvm/test/CodeGen/X86/win32-eh.ll | |
parent | e39bd407ba29cf8ba20ec4f02f6a84b17cee2cb3 (diff) | |
download | bcm5719-llvm-813f1b65bc131b211ec5fef10ad47abc0488192d.tar.gz bcm5719-llvm-813f1b65bc131b211ec5fef10ad47abc0488192d.zip |
[WinEH] Rip out the landingpad-based C++ EH state numbering code
It never really worked, and the new code is working better every day.
llvm-svn: 247860
Diffstat (limited to 'llvm/test/CodeGen/X86/win32-eh.ll')
-rw-r--r-- | llvm/test/CodeGen/X86/win32-eh.ll | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/llvm/test/CodeGen/X86/win32-eh.ll b/llvm/test/CodeGen/X86/win32-eh.ll index 3ee4723ce5f..f477ed1d4c6 100644 --- a/llvm/test/CodeGen/X86/win32-eh.ll +++ b/llvm/test/CodeGen/X86/win32-eh.ll @@ -105,13 +105,16 @@ define void @use_CxxFrameHandler3() personality i32 (...)* @__CxxFrameHandler3 { to label %cont unwind label %catchall cont: ret void + catchall: - %ehvals = landingpad { i8*, i32 } - catch i8* null - %ehptr = extractvalue { i8*, i32 } %ehvals, 0 - call void @llvm.eh.begincatch(i8* %ehptr, i8* null) - call void @llvm.eh.endcatch() - br label %cont + %p = catchpad [i8* null, i32 64, i8* null] + to label %catch unwind label %endcatch + +catch: + catchret %p to label %cont + +endcatch: + catchendpad unwind to caller } ; CHECK-LABEL: _use_CxxFrameHandler3: |