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: TheValueRefrepresenting the function.prefix_data: TheValueRefrepresenting the prefix data to attach.
§Safety
- The
ValueRefmust represent a valid function within a module. - The
prefix_datamust represent valid prefix data.