LLVM 22.0.0git
BitWriter.cpp File Reference

Go to the source code of this file.

Functions

int LLVMWriteBitcodeToFile (LLVMModuleRef M, const char *Path)
 Writes a module to the specified path.
int LLVMWriteBitcodeToFD (LLVMModuleRef M, int FD, int ShouldClose, int Unbuffered)
 Writes a module to an open file descriptor.
int LLVMWriteBitcodeToFileHandle (LLVMModuleRef M, int FileHandle)
 Deprecated for LLVMWriteBitcodeToFD.
LLVMMemoryBufferRef LLVMWriteBitcodeToMemoryBuffer (LLVMModuleRef M)
 Writes a module to a new memory buffer and returns it.