1 ; RUN: llc < %s -mtriple=x86_64-pc-linux | FileCheck %s
2 ; Test that we emit functions with explicitly specified personality,
3 ; even if no landing pads are left.
5 declare i32 @__my_personality_v0(...)
6 declare void @might_throw()
8 define i32 @foo() personality ptr @__my_personality_v0 {
9 ; CHECK: .cfi_personality 3, __my_personality_v0
10 call void @might_throw()