Mercurial > projects > ldc
comparison ir/irfunction.cpp @ 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 | 2ebac4750adb |
children | 9167d492cbc2 |
comparison
equal
deleted
inserted
replaced
945:03d7c4aac654 | 946:1714836f2c0b |
---|---|
29 nestedVar = NULL; | 29 nestedVar = NULL; |
30 | 30 |
31 _arguments = NULL; | 31 _arguments = NULL; |
32 _argptr = NULL; | 32 _argptr = NULL; |
33 | 33 |
34 dwarfSubProg = NULL; | |
35 | |
36 nextUnique.push(0); | 34 nextUnique.push(0); |
37 } | 35 } |
38 | 36 |
39 std::string IrFunction::getScopedLabelName(const char* ident) | 37 std::string IrFunction::getScopedLabelName(const char* ident) |
40 { | 38 { |