Mercurial > projects > ldc
diff gen/linker.h @ 276:21f85bac0b1a trunk
[svn r297] Fixed: rewrote linker code to use LLVM's Program facilities instead of DMD's oldschool broken "native" approach.
author | lindquist |
---|---|
date | Fri, 20 Jun 2008 17:45:13 +0200 |
parents | a95056b3c996 |
children | 90a8c798b0db |
line wrap: on
line diff
--- a/gen/linker.h Thu Jun 19 17:30:32 2008 +0200 +++ b/gen/linker.h Fri Jun 20 17:45:13 2008 +0200 @@ -8,4 +8,10 @@ */ void linkModules(llvm::Module* dst, const std::vector<llvm::Module*>& MV); +/** + * Link an executable. + * @return 0 on success. + */ +int linkExecutable(); + #endif // LLVMDC_GEN_LINKER_H