Mercurial > projects > ldc
diff gen/linker.h @ 284:70c370e97944 trunk
[svn r305] Started support for custom class allocators/deallocators. Allocators with more than one argument still need to be fixed.
Removed the LLVM stacktrace code from mars.c.
Moved the LLVM based default target detection code from mars.c to llvmhelpers.cpp.
author | lindquist |
---|---|
date | Sat, 21 Jun 2008 02:48:53 +0200 |
parents | 90a8c798b0db |
children | 0baca2feb554 |
line wrap: on
line diff
--- a/gen/linker.h Sat Jun 21 00:54:55 2008 +0200 +++ b/gen/linker.h Sat Jun 21 02:48:53 2008 +0200 @@ -1,6 +1,13 @@ #ifndef LLVMDC_GEN_LINKER_H #define LLVMDC_GEN_LINKER_H +#include <vector> + +namespace llvm +{ + class Module; +} + /** * Links the modules given in MV in to dst. * @param dst Destination module.