llvm.c.bitWriter

Undocumented in source.

Public Imports

llvm.c.types
public import llvm.c.types;
Undocumented in source.

Members

Functions

LLVMWriteBitcodeToFD
int LLVMWriteBitcodeToFD(LLVMModuleRef M, int FD, int ShouldClose, int Unbuffered)

Writes a module to an open file descriptor. Returns 0 on success.

LLVMWriteBitcodeToFile
int LLVMWriteBitcodeToFile(LLVMModuleRef M, const(char)* Path)

Writes a module to the specified path. Returns 0 on success.

LLVMWriteBitcodeToFileHandle
int LLVMWriteBitcodeToFileHandle(LLVMModuleRef M, int Handle)

Deprecated for LLVMWriteBitcodeToFD. Writes a module to an open file descriptor. Returns 0 on success. Closes the Handle.

LLVMWriteBitcodeToMemoryBuffer
LLVMMemoryBufferRef LLVMWriteBitcodeToMemoryBuffer(LLVMModuleRef M)

Writes a module to a new memory buffer and returns it.

Meta