comparison 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
comparison
equal deleted inserted replaced
275:665b81613475 276:21f85bac0b1a
6 * @param dst Destination module. 6 * @param dst Destination module.
7 * @param MV Vector of modules to link in to destination. 7 * @param MV Vector of modules to link in to destination.
8 */ 8 */
9 void linkModules(llvm::Module* dst, const std::vector<llvm::Module*>& MV); 9 void linkModules(llvm::Module* dst, const std::vector<llvm::Module*>& MV);
10 10
11 /**
12 * Link an executable.
13 * @return 0 on success.
14 */
15 int linkExecutable();
16
11 #endif // LLVMDC_GEN_LINKER_H 17 #endif // LLVMDC_GEN_LINKER_H