Mercurial > projects > ldc
comparison gen/linker.h @ 306:0baca2feb554 trunk
[svn r327] Fixed some more MinGW32 issues. It's now very close to working.
Fixed problems with inline asm like: mov EAX, FS:4 , which incidentally is used in the runtime to get the stack bottom, on Windows.
author | lindquist |
---|---|
date | Fri, 27 Jun 2008 23:58:22 +0200 |
parents | 70c370e97944 |
children | eef8ac26c66c |
comparison
equal
deleted
inserted
replaced
305:2b72433d5c8c | 306:0baca2feb554 |
---|---|
15 */ | 15 */ |
16 void linkModules(llvm::Module* dst, const std::vector<llvm::Module*>& MV); | 16 void linkModules(llvm::Module* dst, const std::vector<llvm::Module*>& MV); |
17 | 17 |
18 /** | 18 /** |
19 * Link an executable. | 19 * Link an executable. |
20 * @param argv0 the argv[0] value as passed to main | |
20 * @return 0 on success. | 21 * @return 0 on success. |
21 */ | 22 */ |
22 int linkExecutable(); | 23 int linkExecutable(const char* argv0); |
23 | 24 |
24 /** | 25 /** |
25 * Delete the executable that was previously linked with linkExecutable. | 26 * Delete the executable that was previously linked with linkExecutable. |
26 */ | 27 */ |
27 void deleteExecutable(); | 28 void deleteExecutable(); |