pub fn set_prefix_data(fn_val: &ValueRef, prefix_data: &ValueRef)
Expand description
Sets the prefix data for the function.
This function wraps the LLVMSetPrefixData
function from the LLVM core library. It attaches prefix data
to the specified function.
§Parameters
fn_val
: TheValueRef
representing the function.prefix_data
: TheValueRef
representing the prefix data to attach.
§Safety
- The
ValueRef
must represent a valid function within a module. - The
prefix_data
must represent valid prefix data.