diff gen/tollvm.h @ 323:0d52412d5b1a trunk

[svn r344] Fixed some very minor issues with the usage listing when calling llvmdc with no arguments. Changed the way moduleinfo is registered to use the same approach as DMD, this eliminates the need for correct linking order and should make the way for using a natively compiled runtime library. This should speed up linking tremendously and should now be possible. Fixed the llvm.used array to only be emitted if really necessary.
author lindquist
date Wed, 09 Jul 2008 23:43:51 +0200
parents d59c363fccad
children 7086a84ab3d6
line wrap: on
line diff
--- a/gen/tollvm.h	Wed Jul 09 17:02:55 2008 +0200
+++ b/gen/tollvm.h	Wed Jul 09 23:43:51 2008 +0200
@@ -40,6 +40,7 @@
 const LLType* DtoSize_t();
 const LLStructType* DtoInterfaceInfoType();
 const LLStructType* DtoMutexType();
+const LLStructType* DtoModuleReferenceType();
 
 // getelementptr helpers
 LLValue* DtoGEP1(LLValue* ptr, LLValue* i0, const char* var=NULL, llvm::BasicBlock* bb=NULL);