Mercurial > projects > ldc
view gen/runtime.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 | 0c77619e803b |
children |
line wrap: on
line source
// D runtime support helpers bool LLVM_D_InitRuntime(); void LLVM_D_FreeRuntime(); llvm::Function* LLVM_D_GetRuntimeFunction(llvm::Module* target, const char* name); llvm::GlobalVariable* LLVM_D_GetRuntimeGlobal(llvm::Module* target, const char* name);