Project Alice
|
Functions | |
int | LLVMWriteBitcodeToFile (LLVMModuleRef M, const char *Path) |
int | LLVMWriteBitcodeToFD (LLVMModuleRef M, int FD, int ShouldClose, int Unbuffered) |
int | LLVMWriteBitcodeToFileHandle (LLVMModuleRef M, int Handle) |
LLVMMemoryBufferRef | LLVMWriteBitcodeToMemoryBuffer (LLVMModuleRef M) |
int LLVMWriteBitcodeToFD | ( | LLVMModuleRef | M, |
int | FD, | ||
int | ShouldClose, | ||
int | Unbuffered | ||
) |
Writes a module to an open file descriptor. Returns 0 on success.
int LLVMWriteBitcodeToFile | ( | LLVMModuleRef | M, |
const char * | Path | ||
) |
Writes a module to the specified path. Returns 0 on success.
int LLVMWriteBitcodeToFileHandle | ( | LLVMModuleRef | M, |
int | Handle | ||
) |
Deprecated for LLVMWriteBitcodeToFD. Writes a module to an open file descriptor. Returns 0 on success. Closes the Handle.
LLVMMemoryBufferRef LLVMWriteBitcodeToMemoryBuffer | ( | LLVMModuleRef | M | ) |
Writes a module to a new memory buffer and returns it.