Mercurial > projects > ldc
comparison gen/llvm.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 | 5812d6fac0f0 |
children | 8c73ff5f69e0 |
comparison
equal
deleted
inserted
replaced
945:03d7c4aac654 | 946:1714836f2c0b |
---|---|
11 #include "llvm/Module.h" | 11 #include "llvm/Module.h" |
12 #include "llvm/Value.h" | 12 #include "llvm/Value.h" |
13 #include "llvm/Attributes.h" | 13 #include "llvm/Attributes.h" |
14 | 14 |
15 #include "llvm/Target/TargetData.h" | 15 #include "llvm/Target/TargetData.h" |
16 | |
17 #include "llvm/Analysis/DebugInfo.h" | |
16 | 18 |
17 #include "llvm/Support/IRBuilder.h" | 19 #include "llvm/Support/IRBuilder.h" |
18 using llvm::IRBuilder; | 20 using llvm::IRBuilder; |
19 | 21 |
20 // for WriteTypeSymbolic | 22 // for WriteTypeSymbolic |