mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-06 19:06:02 +03:00
[svn r267] Fixed debug info for global variables.
Cleaned up the debug info code in general.
This commit is contained in:
parent
9dc26ff388
commit
4d2797526d
8 changed files with 159 additions and 163 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue