pub fn has_personality_fn(val: &ValueRef) -> boolExpand description
Checks whether the given function has an associated personality function.
This function wraps the LLVMHasPersonalityFn function from the LLVM core library. A personality function
is used in exception handling to provide language-specific semantics for stack unwinding.
§Parameters
val: TheValueRefrepresenting the function to check.
§Returns
Returns true if the function has an associated personality function, or false otherwise.