1 ; RUN: llc -mtriple x86_64-apple-darwin %s -o - | FileCheck %s
2 @_ZTIi = external constant i8*
4 define i32 @main() uwtable optsize ssp {
5 ; CHECK: .cfi_startproc
6 ; CHECK: .cfi_personality 155, ___gxx_personality_v0
7 ; CHECK: .cfi_lsda 16, Lexception0
8 ; CHECK: .cfi_def_cfa_offset 16
12 invoke void @_Z1fv() optsize
13 to label %try.cont unwind label %lpad
16 %0 = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*)
17 catch i8* bitcast (i8** @_ZTIi to i8*)
24 resume { i8*, i32 } %0
27 declare void @_Z1fv() optsize
29 declare i32 @__gxx_personality_v0(...)
31 ; CHECK: Leh_func_end0:
32 ; CHECK: GCC_except_table0
33 ; CHECK: = Leh_func_end0-