Files
ldc/ir/irmodule.h
Christian Kamm 7c93355672 Mostly rewrite debug info generation in terms of llvm/Analysis/DebugInfo.h.
Add getCompilationModule to Dsymbol and fix template compile unit decision code.
Runtime compiles with -g again.
2009-02-08 16:50:22 +01:00

20 lines
295 B
C

#ifndef LDC_IR_IRMODULE_H
#define LDC_IR_IRMODULE_H
#include "ir/ir.h"
struct Module;
struct IrModule : IrBase
{
IrModule(Module* module, const char* srcfilename);
virtual ~IrModule();
Module* M;
LLGlobalVariable* fileName;
llvm::DICompileUnit diCompileUnit;
};
#endif