llvm_sys::core

Function LLVMGetHandlers

Source
pub unsafe extern "C" fn LLVMGetHandlers(
    CatchSwitch: LLVMValueRef,
    Handlers: *mut LLVMBasicBlockRef,
)
Expand description

Obtain the basic blocks acting as handlers for a catchswitch instruction.

The Handlers parameter should point to a pre-allocated array of LLVMBasicBlockRefs at least LLVMGetNumHandlers() large. On return, the first LLVMGetNumHandlers() entries in the array will be populated with LLVMBasicBlockRef instances.