• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
5declare i32 @__my_personality_v0(...)
6declare void @might_throw()
7
8define 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