Record native function address as part of the name.

Might help while debugging dcc's handling of large programs.
This commit is contained in:
nemerle 2016-04-25 16:08:51 +02:00
parent 34b1f4f4fe
commit ede09ddae3

View File

@ -761,7 +761,7 @@ bool Function::process_CALL(ICODE & pIcode, CALL_GRAPH * pcallGraph, STATE *psta
if (x.name.isEmpty()) /* Don't overwrite existing name */
{
x.name = QString("proc_%1").arg(++prog.cProcs);
x.name = QString("proc_%1_%2").arg(x.procEntry ,6,16,QChar('0')).arg(++prog.cProcs);
}
x.depth = x.depth + 1;
x.flg |= TERMINATES;