- 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:
Thomas Faber 2015-09-04 08:02:35 +00:00
parent 2f1118245e
commit e6718d0d2b

View file

@ -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;
}