1 ; RUN: llc -sehprepare -mtriple=x86_64-windows-msvc < %s | FileCheck %s
2 ; RUN: llc -mtriple=x86_64-windows-msvc < %s | FileCheck %s
4 @str = internal unnamed_addr constant [10 x i8] c"recovered\00", align 1
6 declare i32 @__C_specific_handler(...)
13 to label %__try.cont unwind label %lpad
16 %0 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__C_specific_handler to i8*)
18 call i32 @puts(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @str, i64 0, i64 0))
25 resume { i8*, i32 } %0
29 ; CHECK: .seh_handlerdata
31 ; CHECK-NEXT: .Ltmp{{[0-9]+}}@IMGREL
32 ; CHECK-NEXT: .Ltmp{{[0-9]+}}@IMGREL+1
34 ; CHECK-NEXT: .Ltmp{{[0-9]+}}@IMGREL