mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-04-17 09:19:03 +02:00
Fix compilation of ldc1
This commit is contained in:
@@ -34,6 +34,8 @@ typedef DValue elem;
|
||||
namespace llvm {
|
||||
class LLVMContext;
|
||||
class Module;
|
||||
class GlobalVariable;
|
||||
class PATypeHolder;
|
||||
}
|
||||
#else
|
||||
|
||||
@@ -194,8 +196,11 @@ struct Module : Package
|
||||
void buildTargetFiles(bool singleObj);
|
||||
File* buildFilePath(const char* forcename, const char* path, const char* ext);
|
||||
Module *isModule() { return this; }
|
||||
llvm::GlobalVariable* moduleInfoSymbol();
|
||||
|
||||
bool llvmForceLogging;
|
||||
llvm::GlobalVariable* moduleInfoVar;
|
||||
llvm::PATypeHolder* moduleInfoType;
|
||||
|
||||
// array ops emitted in this module already
|
||||
StringTable arrayfuncs;
|
||||
|
||||
Reference in New Issue
Block a user