1 ; RUN: llc < %s -mtriple=x86_64-unknown-linux-gnu -disable-cfi | FileCheck --check-prefix=STATIC %s
2 ; RUN: llc < %s -mtriple=x86_64-unknown-linux-gnu -disable-cfi -relocation-model=pic | FileCheck --check-prefix=PIC %s
4 ; STATIC: .ascii "zPLR"
6 ; STATIC-NEXT: .long __gxx_personality_v0
13 ; PIC-NEXT: .long DW.ref.__gxx_personality_v0-.L
20 %call = invoke i32 @foo()
21 to label %invoke.cont unwind label %lpad
27 %exn = call i8* @llvm.eh.exception() nounwind
28 %eh.selector = call i32 (i8*, i8*, ...)* @llvm.eh.selector(i8* %exn, i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*), i8* null) nounwind
34 declare i8* @llvm.eh.exception() nounwind readonly
36 declare i32 @__gxx_personality_v0(...)
38 declare i32 @llvm.eh.selector(i8*, i8*, ...) nounwind