Mercurial > projects > ldc
view gen/runtime.h @ 1066:186d44690036
Give compile units LinkOnceLinkage to circumvent duplicate symbols with LLVM linking.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Sun, 08 Mar 2009 16:21:11 +0100 |
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);