Package org.lwjgl.llvm
Class LLVMBitWriter
java.lang.Object
org.lwjgl.llvm.LLVMBitWriter
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classContains the function pointers loaded fromLLVMCore.getLibrary(). -
Method Summary
Modifier and TypeMethodDescriptionstatic intLLVMWriteBitcodeToFD(long M, int FD, int ShouldClose, int Unbuffered) Writes a module to an open file descriptor.static intLLVMWriteBitcodeToFile(long M, CharSequence Path) Writes a module to the specified path.static intLLVMWriteBitcodeToFile(long M, ByteBuffer Path) Writes a module to the specified path.static intLLVMWriteBitcodeToFileHandle(long M, int Handle) Deprecated forWriteBitcodeToFD.static longLLVMWriteBitcodeToMemoryBuffer(long M) Writes a module to a new memory buffer and returns it.static intnLLVMWriteBitcodeToFile(long M, long Path) Unsafe version of:WriteBitcodeToFile
-
Method Details
-
nLLVMWriteBitcodeToFile
public static int nLLVMWriteBitcodeToFile(long M, long Path) Unsafe version of:WriteBitcodeToFile -
LLVMWriteBitcodeToFile
Writes a module to the specified path. Returns 0 on success. -
LLVMWriteBitcodeToFile
Writes a module to the specified path. Returns 0 on success. -
LLVMWriteBitcodeToFD
public static int LLVMWriteBitcodeToFD(long M, int FD, int ShouldClose, int Unbuffered) Writes a module to an open file descriptor. Returns 0 on success. -
LLVMWriteBitcodeToFileHandle
public static int LLVMWriteBitcodeToFileHandle(long M, int Handle) Deprecated forWriteBitcodeToFD. Writes a module to an open file descriptor. Returns 0 on success. Closes theHandle. -
LLVMWriteBitcodeToMemoryBuffer
public static long LLVMWriteBitcodeToMemoryBuffer(long M) Writes a module to a new memory buffer and returns it.
-