mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user