Home | History | Annotate | Download | only in X86
      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.
      4 
      5 declare i32 @__my_personality_v0(...)
      6 declare void @might_throw()
      7 
      8 define i32 @foo() personality i32 (...)* @__my_personality_v0 {
      9 ; CHECK: .cfi_personality 3, __my_personality_v0
     10     call void @might_throw()
     11     ret i32 0
     12 }
     13