Package org.lwjgl.llvm
Class LLVMSupport
- java.lang.Object
-
- org.lwjgl.llvm.LLVMSupport
-
public class LLVMSupport extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LLVMSupport.Functions
Contains the function pointers loaded fromLLVMCore.getLibrary()
.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
LLVMAddSymbol(java.lang.CharSequence symbolName, long symbolValue)
This functions permanently adds the symbolsymbolName
with the valuesymbolValue
.static void
LLVMAddSymbol(java.nio.ByteBuffer symbolName, long symbolValue)
This functions permanently adds the symbolsymbolName
with the valuesymbolValue
.static boolean
LLVMLoadLibraryPermanently(java.lang.CharSequence Filename)
This function permanently loads the dynamic library at the given path.static boolean
LLVMLoadLibraryPermanently(java.nio.ByteBuffer Filename)
This function permanently loads the dynamic library at the given path.static void
LLVMParseCommandLineOptions(org.lwjgl.PointerBuffer argv, java.lang.CharSequence Overview)
This function parses the given arguments using the LLVM command line parser.static void
LLVMParseCommandLineOptions(org.lwjgl.PointerBuffer argv, java.nio.ByteBuffer Overview)
This function parses the given arguments using the LLVM command line parser.static long
LLVMSearchForAddressOfSymbol(java.lang.CharSequence symbolName)
This function will search through all previously loaded dynamic libraries for the symbolsymbolName
.static long
LLVMSearchForAddressOfSymbol(java.nio.ByteBuffer symbolName)
This function will search through all previously loaded dynamic libraries for the symbolsymbolName
.static void
nLLVMAddSymbol(long symbolName, long symbolValue)
Unsafe version of:AddSymbol
static int
nLLVMLoadLibraryPermanently(long Filename)
Unsafe version of:LoadLibraryPermanently
static void
nLLVMParseCommandLineOptions(int argc, long argv, long Overview)
Unsafe version of:ParseCommandLineOptions
static long
nLLVMSearchForAddressOfSymbol(long symbolName)
Unsafe version of:SearchForAddressOfSymbol
-
-
-
Method Detail
-
nLLVMLoadLibraryPermanently
public static int nLLVMLoadLibraryPermanently(long Filename)
Unsafe version of:LoadLibraryPermanently
-
LLVMLoadLibraryPermanently
public static boolean LLVMLoadLibraryPermanently(java.nio.ByteBuffer Filename) public static boolean LLVMLoadLibraryPermanently(java.lang.CharSequence 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.
-
nLLVMParseCommandLineOptions
public static void nLLVMParseCommandLineOptions(int argc, long argv, long Overview)
Unsafe version of:ParseCommandLineOptions
-
LLVMParseCommandLineOptions
public static void LLVMParseCommandLineOptions(org.lwjgl.PointerBuffer argv, java.nio.ByteBuffer Overview) public static void LLVMParseCommandLineOptions(org.lwjgl.PointerBuffer argv, java.lang.CharSequence 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.
-
nLLVMSearchForAddressOfSymbol
public static long nLLVMSearchForAddressOfSymbol(long symbolName)
Unsafe version of:SearchForAddressOfSymbol
-
LLVMSearchForAddressOfSymbol
public static long LLVMSearchForAddressOfSymbol(java.nio.ByteBuffer symbolName) public static long LLVMSearchForAddressOfSymbol(java.lang.CharSequence symbolName)
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
public static void LLVMAddSymbol(java.nio.ByteBuffer symbolName, long symbolValue) public static void LLVMAddSymbol(java.lang.CharSequence symbolName, long symbolValue)
This functions permanently adds the symbolsymbolName
with the valuesymbolValue
. These symbols are searched before any libraries.
-
-