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