Function has_prefix_data

Source
pub fn has_prefix_data(fn_val: &ValueRef) -> bool
Expand description

Checks if a given function has prefix data.

This function wraps the LLVMHasPrefixData function from the LLVM core library. It determines whether the specified function has prefix data attached.

§Parameters

  • fn_val: The ValueRef representing the function.

§Returns

Returns true if the function has prefix data, or false otherwise.

§Safety

  • The ValueRef must represent a valid function within a module.