1 ; RUN: llc -mtriple=x86_64-windows-gnu < %s | FileCheck %s
3 declare void @throwit()
4 declare void @__gxx_personality_seh0(...)
5 declare void @__gcc_personality_seh0(...)
7 define void @use_gxx_seh()
8 personality ptr @__gxx_personality_seh0 {
14 ; CHECK-LABEL: use_gxx_seh:
15 ; CHECK: .seh_proc use_gxx_seh
16 ; CHECK-NOT: .seh_handler __gxx_personality_seh0
17 ; CHECK: callq throwit
20 define void @use_gcc_seh()
21 personality ptr @__gcc_personality_seh0 {
27 ; CHECK-LABEL: use_gcc_seh:
28 ; CHECK: .seh_proc use_gcc_seh
29 ; CHECK-NOT: .seh_handler __gcc_personality_seh0
30 ; CHECK: callq throwit