[svn r298] Eliminated the dmd/link.c source file entirely in favor of a llvm::sys based approach to the same functionality.

This commit is contained in:
Tomas Lindquist Olsen
2008-06-20 22:09:04 +02:00
parent c743549032
commit 41a104c0f4
5 changed files with 64 additions and 235 deletions

View File

@@ -14,4 +14,15 @@ void linkModules(llvm::Module* dst, const std::vector<llvm::Module*>& MV);
*/
int linkExecutable();
/**
* Delete the executable that was previously linked with linkExecutable.
*/
void deleteExecutable();
/**
* Runs the executable that was previously linked with linkExecutable.
* @return the return status of the executable.
*/
int runExectuable();
#endif // LLVMDC_GEN_LINKER_H