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

Go to the source code of this file.

Functions

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