Package org.lwjgl.llvm
Class LLVMIRReader
java.lang.Object
org.lwjgl.llvm.LLVMIRReader
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classContains the function pointers loaded fromLLVMCore.getLibrary(). -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanLLVMParseIRInContext(long ContextRef, long MemBuf, org.lwjgl.PointerBuffer OutM, org.lwjgl.PointerBuffer OutMessage) Read LLVM IR from a memory buffer and convert it into an in-memoryModuleobject.static intnLLVMParseIRInContext(long ContextRef, long MemBuf, long OutM, long OutMessage) Unsafe version of:ParseIRInContext
-
Method Details
-
nLLVMParseIRInContext
public static int nLLVMParseIRInContext(long ContextRef, long MemBuf, long OutM, long OutMessage) Unsafe version of:ParseIRInContext -
LLVMParseIRInContext
public static boolean LLVMParseIRInContext(long ContextRef, long MemBuf, org.lwjgl.PointerBuffer OutM, org.lwjgl.PointerBuffer OutMessage) Read LLVM IR from a memory buffer and convert it into an in-memoryModuleobject.Returns 0 on success. Optionally returns a human-readable description of any errors that occurred during parsing IR.
OutMessagemust be disposed withDisposeMessage.
-