Project Alice
Loading...
Searching...
No Matches
Collaboration diagram for Bit Writer:

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)
 

Detailed Description

Function Documentation

◆ 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.