Mercurial > projects > ldc
comparison ir/irstruct.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 | 7d16ce7ad19d |
children | 5ebe8224988b |
comparison
equal
deleted
inserted
replaced
945:03d7c4aac654 | 946:1714836f2c0b |
---|---|
146 InterfaceVector classInfoInterfaces; | 146 InterfaceVector classInfoInterfaces; |
147 | 147 |
148 // align(1) struct S { ... } | 148 // align(1) struct S { ... } |
149 bool packed; | 149 bool packed; |
150 | 150 |
151 // dwarf composite global | 151 // composite type debug description |
152 LLGlobalVariable* dwarfComposite; | 152 llvm::DICompositeType diCompositeType; |
153 }; | 153 }; |
154 | 154 |
155 ////////////////////////////////////////////////////////////////////////////// | 155 ////////////////////////////////////////////////////////////////////////////// |
156 ////////////////////////////////////////////////////////////////////////////// | 156 ////////////////////////////////////////////////////////////////////////////// |
157 ////////////////////////////////////////////////////////////////////////////// | 157 ////////////////////////////////////////////////////////////////////////////// |