Mercurial > projects > ldc
diff ir/irfunction.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 | 2ebac4750adb |
children | 9167d492cbc2 |
line wrap: on
line diff
--- a/ir/irfunction.h Sun Feb 08 05:26:54 2009 +0100 +++ b/ir/irfunction.h Sun Feb 08 16:50:22 2009 +0100 @@ -28,7 +28,7 @@ llvm::Value* _arguments; llvm::Value* _argptr; - llvm::Constant* dwarfSubProg; + llvm::DISubprogram diSubprogram; // pushes a unique label scope of the given name void pushUniqueLabelScope(const char* name);