Function has_prologue_data

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

Checks if a given function has prologue data.

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

§Parameters

  • fn_val: The ValueRef representing the function.

§Returns

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

§Safety

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