1 ; RUN: llc < %s | FileCheck %s
2 target datalayout = "e-m:x-p:32:32-i64:64-f80:32-n8:16:32-a:0:32-S32"
3 target triple = "i386-pc-windows-msvc"
7 define void @test1() personality ptr @__CxxFrameHandler3 {
8 %e = alloca i8, align 4
10 to label %.noexc unwind label %catch.dispatch
15 catch.object.Exception:
16 %cp = catchpad within %cs [ptr null, i32 0, ptr %e]
17 catchret from %cp to label %catchhandler
20 %cs = catchswitch within none [label %catch.object.Exception] unwind to caller
23 call void @use(ptr %e)
27 ; CHECK-LABEL: $handlerMap$0$test1:
30 ; CHECK-NEXT: .long -20
32 declare void @use(ptr)
34 declare i32 @__CxxFrameHandler3(...)