Mercurial > projects > ldc
comparison ir/irmodule.h @ 946:1714836f2c0b
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.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Sun, 08 Feb 2009 16:50:22 +0100 |
parents | b411c41a9716 |
children |
comparison
equal
deleted
inserted
replaced
945:03d7c4aac654 | 946:1714836f2c0b |
---|---|
10 IrModule(Module* module, const char* srcfilename); | 10 IrModule(Module* module, const char* srcfilename); |
11 virtual ~IrModule(); | 11 virtual ~IrModule(); |
12 | 12 |
13 Module* M; | 13 Module* M; |
14 | 14 |
15 LLGlobalVariable* dwarfCompileUnit; | |
16 LLGlobalVariable* fileName; | 15 LLGlobalVariable* fileName; |
16 llvm::DICompileUnit diCompileUnit; | |
17 }; | 17 }; |
18 | 18 |
19 #endif | 19 #endif |