Function set_prefix_data

Source
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: The ValueRef representing the function.
  • prefix_data: The ValueRef 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.