mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-02-07 23:24:09 +00:00
Fix profiler stack dump for string chunks.
This commit is contained in:
parent
1f2eff728b
commit
0953b9a72d
@ -567,7 +567,7 @@ static int debug_putchunkname(SBuf *sb, GCproto *pt, int pathstrip)
|
|||||||
}
|
}
|
||||||
lj_buf_putmem(sb, p, len);
|
lj_buf_putmem(sb, p, len);
|
||||||
} else {
|
} else {
|
||||||
lj_buf_putmem(sb, "[string]", 9);
|
lj_buf_putmem(sb, "[string]", 8);
|
||||||
}
|
}
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user