pub fn get_prefix_data(fn_val: &ValueRef) -> Option<ValueRef>Expand description
Retrieves the prefix data associated with a function.
This function wraps the LLVMGetPrefixData function from the LLVM core library. It obtains the prefix data
attached to the specified function. Prefix data is used to attach additional information to functions.
§Parameters
fn_val: TheValueRefrepresenting the function.
§Returns
Returns an Option<ValueRef> containing the prefix 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.