Package org.lwjgl.llvm
Class LLVMSupport
java.lang.Object
org.lwjgl.llvm.LLVMSupport
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classContains the function pointers loaded fromLLVMCore.getLibrary(). -
Method Summary
Modifier and TypeMethodDescriptionstatic voidLLVMAddSymbol(CharSequence symbolName, long symbolValue) This functions permanently adds the symbolsymbolNamewith the valuesymbolValue.static voidLLVMAddSymbol(ByteBuffer symbolName, long symbolValue) This functions permanently adds the symbolsymbolNamewith the valuesymbolValue.static booleanLLVMLoadLibraryPermanently(CharSequence Filename) This function permanently loads the dynamic library at the given path.static booleanLLVMLoadLibraryPermanently(ByteBuffer Filename) This function permanently loads the dynamic library at the given path.static voidLLVMParseCommandLineOptions(org.lwjgl.PointerBuffer argv, CharSequence Overview) This function parses the given arguments using the LLVM command line parser.static voidLLVMParseCommandLineOptions(org.lwjgl.PointerBuffer argv, ByteBuffer Overview) This function parses the given arguments using the LLVM command line parser.static longLLVMSearchForAddressOfSymbol(CharSequence symbolName) This function will search through all previously loaded dynamic libraries for the symbolsymbolName.static longLLVMSearchForAddressOfSymbol(ByteBuffer symbolName) This function will search through all previously loaded dynamic libraries for the symbolsymbolName.static voidnLLVMAddSymbol(long symbolName, long symbolValue) Unsafe version of:AddSymbolstatic intnLLVMLoadLibraryPermanently(long Filename) Unsafe version of:LoadLibraryPermanentlystatic voidnLLVMParseCommandLineOptions(int argc, long argv, long Overview) Unsafe version of:ParseCommandLineOptionsstatic longnLLVMSearchForAddressOfSymbol(long symbolName) Unsafe version of:SearchForAddressOfSymbol
-
Method Details
-
nLLVMLoadLibraryPermanently
public static int nLLVMLoadLibraryPermanently(long Filename) Unsafe version of:LoadLibraryPermanently -
LLVMLoadLibraryPermanently
This function permanently loads the dynamic library at the given path. It is safe to call this function multiple times for the same library. -
LLVMLoadLibraryPermanently
This function permanently loads the dynamic library at the given path. It is safe to call this function multiple times for the same library. -
nLLVMParseCommandLineOptions
public static void nLLVMParseCommandLineOptions(int argc, long argv, long Overview) Unsafe version of:ParseCommandLineOptions -
LLVMParseCommandLineOptions
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.
-
LLVMParseCommandLineOptions
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.
-
nLLVMSearchForAddressOfSymbol
public static long nLLVMSearchForAddressOfSymbol(long symbolName) Unsafe version of:SearchForAddressOfSymbol -
LLVMSearchForAddressOfSymbol
This function will search through all previously loaded dynamic libraries for the symbolsymbolName. If it is found, the address of that symbol is returned. If not, null is returned. -
LLVMSearchForAddressOfSymbol
This function will search through all previously loaded dynamic libraries for the symbolsymbolName. If it is found, the address of that symbol is returned. If not, null is returned. -
nLLVMAddSymbol
public static void nLLVMAddSymbol(long symbolName, long symbolValue) Unsafe version of:AddSymbol -
LLVMAddSymbol
This functions permanently adds the symbolsymbolNamewith the valuesymbolValue. These symbols are searched before any libraries. -
LLVMAddSymbol
This functions permanently adds the symbolsymbolNamewith the valuesymbolValue. These symbols are searched before any libraries.
-