mirror of
https://github.com/reactos/reactos.git
synced 2025-05-17 16:27:00 +00:00
[RSYM]
- Sort symbol entries with line number information before those without. Fixes backtraces showing ":0" as file/line for the first line of a function svn path=/trunk/; revision=68980
This commit is contained in:
parent
2f1118245e
commit
e6718d0d2b
1 changed files with 10 additions and 0 deletions
|
@ -123,6 +123,16 @@ CompareSymEntry(const PROSSYM_ENTRY SymEntry1, const PROSSYM_ENTRY SymEntry2)
|
|||
return +1;
|
||||
}
|
||||
|
||||
if (SymEntry2->SourceLine == 0)
|
||||
{
|
||||
return +1;
|
||||
}
|
||||
|
||||
if (SymEntry1->SourceLine == 0)
|
||||
{
|
||||
return +1;
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue