Show trailing NYI item for stitched trace with -jv.

This commit is contained in:
Mike Pall
2013-12-25 20:56:20 +01:00
parent b5d741fa7e
commit c41e65499c
2 changed files with 4 additions and 0 deletions

View File

@@ -116,6 +116,9 @@ local function dump_trace(what, tr, func, pc, otr, oex)
if ltype == "interpreter" then
out:write(format("[TRACE %3s %s%s -- fallback to interpreter]\n",
tr, startex, startloc))
elseif ltype == "stitch" then
out:write(format("[TRACE %3s %s%s %s %s]\n",
tr, startex, startloc, ltype, fmtfunc(func, pc)))
elseif link == tr or link == 0 then
out:write(format("[TRACE %3s %s%s %s]\n",
tr, startex, startloc, ltype))