1 ; RUN: llc < %s -mtriple=x86_64-unknown-linux-gnu | FileCheck --check-prefix=STATIC %s 2 ; RUN: llc < %s -mtriple=x86_64-unknown-linux-gnu -relocation-model=pic | FileCheck --check-prefix=PIC %s 3 4 ; STATIC: .cfi_personality 3, __gxx_personality_v0 5 ; STATIC: .cfi_lsda 3, .Lexception0 6 7 ; PIC: .cfi_personality 155, DW.ref.__gxx_personality_v0 8 ; PIC: .cfi_lsda 27, .Lexception0 9 10 11 define void @bar() { 12 entry: 13 %call = invoke i32 @foo() 14 to label %invoke.cont unwind label %lpad 15 16 invoke.cont: 17 ret void 18 19 lpad: 20 %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0 21 catch i8* null 22 ret void 23 } 24 25 declare i32 @foo() 26 27 declare i32 @__gxx_personality_v0(...) 28