LLVM: Core (original) (raw)

This modules provide an interface to libLLVMCore, which implements the LLVM intermediate representation as well as other related types and utilities. More...

Topics
Functions
LLVM_C_ABI void LLVMShutdown (void)
Deallocate and destroy all ManagedStatic variables.
LLVM_C_ABI void LLVMGetVersion (unsigned *Major, unsigned *Minor, unsigned *Patch)
Return the major, minor, and patch version of LLVM.
LLVM_C_ABI char * LLVMCreateMessage (const char *Message)
LLVM_C_ABI void LLVMDisposeMessage (char *Message)
LLVM_C_ABI LLVMBool LLVMLoadLibraryPermanently (const char *Filename)
This function permanently loads the dynamic library at the given path.
LLVM_C_ABI void LLVMParseCommandLineOptions (int argc, const char *const *argv, const char *Overview)
This function parses the given arguments using the LLVM command line parser.
LLVM_C_ABI void * LLVMSearchForAddressOfSymbol (const char *symbolName)
This function will search through all previously loaded dynamic libraries for the symbol symbolName.
LLVM_C_ABI void LLVMAddSymbol (const char *symbolName, void *symbolValue)
This functions permanently adds the symbol symbolName with the value symbolValue.

This modules provide an interface to libLLVMCore, which implements the LLVM intermediate representation as well as other related types and utilities.

Many exotic languages can interoperate with C code but have a harder time with C++ due to name mangling. So in addition to C, this interface enables tools written in such languages.

LLVMAddSymbol()

LLVMCreateMessage()

LLVMDisposeMessage()

LLVMGetVersion()

Return the major, minor, and patch version of LLVM.

The version components are returned via the function's three output parameters or skipped if a NULL pointer was supplied.

Definition at line 73 of file Core.cpp.

LLVMLoadLibraryPermanently()

LLVMParseCommandLineOptions()

LLVMSearchForAddressOfSymbol()

LLVMShutdown()