llvm::ExecutionEngine::getGlobalValueAddress

Return the address of the specified global value.

Synopsis

Declared in <llvm/ExecutionEngine/ExecutionEngine.h>

virtual
uint64_t
getGlobalValueAddress(std::string const& Name);

Description

This may involve code generation.

This function should not be called with the interpreter engine.

Return Value

Target address of the named global value, or zero if unavailable.

Parameters

NameDescription
NameName of the global value whose address is requested.