view gen/toobj.h @ 1380:98d435fa2a2d

Added error messages when failed to open files for .bc and .ll output, instead of just trying to write to the stream, pretty similar to the #281 problem.
author Tomas Lindquist Olsen <tomas.l.olsen gmail com>
date Sun, 17 May 2009 14:40:09 +0200
parents 12ea38902e83
children
line wrap: on
line source

#ifndef LDC_GEN_TOOBJ_H
#define LDC_GEN_TOOBJ_H

void writeModule(llvm::Module* m, std::string filename);

#endif