Mercurial > projects > ldc
diff ir/irmodule.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 | b411c41a9716 |
children | ad7f2f1862d6 |
line wrap: on
line diff
--- a/ir/irmodule.cpp Sun Feb 08 05:26:54 2009 +0100 +++ b/ir/irmodule.cpp Sun Feb 08 16:50:22 2009 +0100 @@ -10,8 +10,6 @@ LLConstant* slice = DtoConstString(srcfilename); fileName = new llvm::GlobalVariable( slice->getType(), true, LLGlobalValue::InternalLinkage, slice, ".modulefilename", gIR->module); - - dwarfCompileUnit = NULL; } IrModule::~IrModule()