pub fn get_prologue_data(fn_val: &ValueRef) -> Option<ValueRef>Expand description
Retrieves the prologue data associated with a function.
This function wraps the LLVMGetPrologueData function from the LLVM core library. It obtains the prologue data
attached to the specified function. Prologue data is used to attach additional information to functions.
§Parameters
fn_val: TheValueRefrepresenting the function.
§Returns
Returns an Option<ValueRef> containing the prologue data if it exists, or None otherwise.
§Safety
- The
ValueRefmust represent a valid function within a module. - The returned
ValueRefshould not be used if it isNone.