view gen/runtime.h @ 896:fcab41e144c9

Makes sure only function definitions inside templates get weak linkage, llvm doesn't allow weak linkage on just declarations, so we use external linkage for those. Fixes #162
author Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
date Thu, 22 Jan 2009 17:26:50 +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);