LLVM 19.0.0git
BitWriter.h File Reference
#include "llvm-c/ExternC.h"
#include "llvm-c/Types.h"

Go to the source code of this file.


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 Handle)
 Deprecated for LLVMWriteBitcodeToFD.
LLVMMemoryBufferRef LLVMWriteBitcodeToMemoryBuffer (LLVMModuleRef M)
 Writes a module to a new memory buffer and returns it.