1; RUN: llc < %s -relocation-model=pic -mtriple=x86_64-pc-solaris2.11 | FileCheck %s -check-prefix=X64
2; RUN: llc < %s -relocation-model=pic -mtriple=i386-pc-solaris2.11 | FileCheck %s -check-prefix=X32
3; PR1632
4
5define void @_Z1fv() personality i32 (...)* @__gxx_personality_v0 {
6entry:
7  invoke void @_Z1gv()
8          to label %return unwind label %unwind
9
10unwind:                                           ; preds = %entry
11  %exn = landingpad {i8*, i32}
12            cleanup
13  ret void
14
15return:                                           ; preds = %eh_then, %entry
16  ret void
17}
18
19declare void @_Z1gv()
20
21declare i32 @__gxx_personality_v0(...)
22
23; X64:      .size	DW.ref.__gxx_personality_v0, 8
24; X64:      .quad	__gxx_personality_v0
25
26; X32:      .size	DW.ref.__gxx_personality_v0, 4
27; X32:      .long	__gxx_personality_v0
28
29