Class LLVMBitWriter


  • public class LLVMBitWriter
    extends java.lang.Object
    • Method Detail

      • nLLVMWriteBitcodeToFile

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

        public static int LLVMWriteBitcodeToFile​(long M,
                                                 java.nio.ByteBuffer Path)
        
        public static int LLVMWriteBitcodeToFile​(long M,
                                                 java.lang.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.