Files
clang-p2996/llvm/test/CodeGen/SystemZ/zos-no-eh-label.ll
Kai Nacke d5022d9ad4 [SystemZ][z/OS] Make z/OS personality function known (#89679)
This change adds the z/OS personality function to the list of known EH
personality functions. It enables removing of the EH data/labels if the
personality function is not invoked.
2024-04-23 10:39:03 -04:00

13 lines
386 B
LLVM

; RUN: llc -mtriple s390x-ibm-zos < %s | FileCheck %s
define signext i32 @_Z9computeitv() personality ptr @__zos_cxx_personality_v2 {
ret i32 0
}
declare i32 @__zos_cxx_personality_v2(...)
; The personality function is unused, therefore check that it is not referenced.
; There should also be no exception table.
; CHECK-NOT: __zos_cxx_personality_v2
; CHECK-NOT: GCC_except_table