LLVM  6.0.0svn
Functions
BitWriter.cpp File Reference
#include "llvm-c/BitWriter.h"
#include "llvm/Bitcode/BitcodeWriter.h"
#include "llvm/IR/Module.h"
#include "llvm/Support/FileSystem.h"
#include "llvm/Support/MemoryBuffer.h"
#include "llvm/Support/raw_ostream.h"
Include dependency graph for BitWriter.cpp:

Go to the source code of this file.

Functions

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