pub fn set_personality_fn(val: &ValueRef, personality_fn: &ValueRef)Expand description
Sets the personality function attached to the function.
This function wraps the LLVMSetPersonalityFn function from the LLVM core library. The personality
function is used in exception handling to provide language-specific semantics for stack unwinding. By
setting a personality function, you define how exceptions are handled within the function.
ยงParameters
val: TheValueRefrepresenting the function.personality_fn: A reference to theValueRefrepresenting the personality function to attach.