20 std::string ErrorInfo;
23 if (!ErrorInfo.empty())
int LLVMWriteBitcodeToFileHandle(LLVMModuleRef M, int FileHandle)
int LLVMWriteBitcodeToFile(LLVMModuleRef M, const char *Path)
LLVMContext ** unwrap(LLVMContextRef *Tys)
int LLVMWriteBitcodeToFD(LLVMModuleRef M, int FD, int ShouldClose, int Unbuffered)
struct LLVMOpaqueModule * LLVMModuleRef
void WriteBitcodeToFile(const Module *M, raw_ostream &Out)