llvm::orc::createImplPointer

Create a function pointer with the given type, name, and initializer in the given Module.

Synopsis

Declared in <llvm/ExecutionEngine/Orc/IndirectionUtils.h>

GlobalVariable*
createImplPointer(
    PointerType& PT,
    Module& M,
    Twine const& Name,
    Constant* Initializer);

Return Value

The newly created implementation pointer global.

Parameters

NameDescription
PTPointer type of the implementation pointer global.
MModule in which to create the global.
NameName of the implementation pointer global.
InitializerOptional initializer for the global.