mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-02-26 08:33:14 +01:00
[svn r267] Fixed debug info for global variables.
Cleaned up the debug info code in general.
This commit is contained in:
@@ -539,7 +539,7 @@ void DtoDefineFunc(FuncDeclaration* fd)
|
||||
// debug info
|
||||
if (global.params.symdebug) {
|
||||
Module* mo = fd->getModule();
|
||||
fd->ir.irFunc->dwarfSubProg = DtoDwarfSubProgram(fd, DtoDwarfCompileUnit(mo));
|
||||
fd->ir.irFunc->dwarfSubProg = DtoDwarfSubProgram(fd);
|
||||
}
|
||||
|
||||
Type* t = DtoDType(fd->type);
|
||||
|
||||
Reference in New Issue
Block a user