mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-07-09 17:04:12 +02:00
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.
This commit is contained in:
@@ -10,8 +10,6 @@ IrModule::IrModule(Module* module, const char* srcfilename)
|
||||
LLConstant* slice = DtoConstString(srcfilename);
|
||||
fileName = new llvm::GlobalVariable(
|
||||
slice->getType(), true, LLGlobalValue::InternalLinkage, slice, ".modulefilename", gIR->module);
|
||||
|
||||
dwarfCompileUnit = NULL;
|
||||
}
|
||||
|
||||
IrModule::~IrModule()
|
||||
|
||||
Reference in New Issue
Block a user