Class LLVMBitWriter

java.lang.Object
org.lwjgl.llvm.LLVMBitWriter

public class LLVMBitWriter extends Object
  • Method Details

    • nLLVMWriteBitcodeToFile

      public static int nLLVMWriteBitcodeToFile(long M, long Path)
      Unsafe version of: WriteBitcodeToFile
    • LLVMWriteBitcodeToFile

      public static int LLVMWriteBitcodeToFile(long M, ByteBuffer Path)
      Writes a module to the specified path. Returns 0 on success.
    • LLVMWriteBitcodeToFile

      public static int LLVMWriteBitcodeToFile(long M, CharSequence Path)
      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 for WriteBitcodeToFD. Writes a module to an open file descriptor. Returns 0 on success. Closes the Handle.
    • LLVMWriteBitcodeToMemoryBuffer

      public static long LLVMWriteBitcodeToMemoryBuffer(long M)
      Writes a module to a new memory buffer and returns it.