LLVM  3.7.0
Typedefs | Functions
Support.h File Reference
#include "llvm/Support/DataTypes.h"
Include dependency graph for Support.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef int LLVMBool
 
typedef struct
LLVMOpaqueMemoryBuffer * 
LLVMMemoryBufferRef
 Used to pass regions of memory through LLVM interfaces. More...
 

Functions

LLVMBool LLVMLoadLibraryPermanently (const char *Filename)
 This function permanently loads the dynamic library at the given path. More...
 
void LLVMParseCommandLineOptions (int argc, const char *const *argv, const char *Overview)
 This function parses the given arguments using the LLVM command line parser. More...
 
void * LLVMSearchForAddressOfSymbol (const char *symbolName)
 This function will search through all previously loaded dynamic libraries for the symbol symbolName. More...
 
void LLVMAddSymbol (const char *symbolName, void *symbolValue)
 This functions permanently adds the symbol symbolName with the value symbolValue. More...
 

Function Documentation

void LLVMAddSymbol ( const char *  symbolName,
void *  symbolValue 
)

This functions permanently adds the symbol symbolName with the value symbolValue.

These symbols are searched before any libraries.

See Also
sys::DynamicLibrary::AddSymbol()

Definition at line 186 of file DynamicLibrary.cpp.

References llvm::sys::DynamicLibrary::AddSymbol().

LLVMBool LLVMLoadLibraryPermanently ( const char *  Filename)

This function permanently loads the dynamic library at the given path.

It is safe to call this function multiple times for the same library.

See Also
sys::DynamicLibrary::LoadLibraryPermanently()

Definition at line 178 of file DynamicLibrary.cpp.

References llvm::sys::DynamicLibrary::LoadLibraryPermanently().

void LLVMParseCommandLineOptions ( int  argc,
const char *const argv,
const char *  Overview 
)

This function parses the given arguments using the LLVM command line parser.

Note that the only stable thing about this function is its signature; you cannot rely on any particular set of command line arguments being interpreted the same way across LLVM versions.

See Also
llvm::cl::ParseCommandLineOptions()

Definition at line 1855 of file CommandLine.cpp.

References llvm::cl::ParseCommandLineOptions().

void* LLVMSearchForAddressOfSymbol ( const char *  symbolName)

This function will search through all previously loaded dynamic libraries for the symbol symbolName.

If it is found, the address of that symbol is returned. If not, null is returned.

See Also
sys::DynamicLibrary::SearchForAddressOfSymbol()

Definition at line 182 of file DynamicLibrary.cpp.

References llvm::sys::DynamicLibrary::SearchForAddressOfSymbol().