From db351d3bc46cf80f4f673129c46a3a4b8be3cadd Mon Sep 17 00:00:00 2001 From: Sergey Kaplun Date: Thu, 11 Apr 2024 13:16:29 +0300 Subject: [PATCH] luajit: bump new version * ci: bump version of actions/checkout * test: fix typo in the link to the issue * test: refactor CMake macro LibRealPath * test: move LibRealPath to the separate module * test: more cautious usage of LD_PRELOAD for ASan * test: fix lj-802-panic-at-mcode-protfail GCC+ASan * ci: execute LuaJIT tests with GCC 10 and ASAN * cmake: replace prove with CTest * Prevent down-recursion for side traces. * Handle stack reallocation in debug.setmetatable() and lua_setmetatable(). * profilers: print user-friendly errors Closes #5994 Closes #9595 Closes #9217 Closes #9656 NO_DOC=LuaJIT submodule bump NO_TEST=LuaJIT submodule bump --- changelogs/unreleased/gh-5994-memprof-human-readable.md | 2 ++ changelogs/unreleased/gh-9595-luajit-fixes.md | 3 +++ third_party/luajit | 2 +- 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/changelogs/unreleased/gh-5994-memprof-human-readable.md b/changelogs/unreleased/gh-5994-memprof-human-readable.md index 39840a7af5c7..45d9ee14936d 100644 --- a/changelogs/unreleased/gh-5994-memprof-human-readable.md +++ b/changelogs/unreleased/gh-5994-memprof-human-readable.md @@ -2,3 +2,5 @@ Added the `--human-readable` option for the `misc.memprof` parser to print sizes like 1KiB, 234MiB, 2GiB, etc. + +Made the errors from the profilers more user-friendly (gh-9217). diff --git a/changelogs/unreleased/gh-9595-luajit-fixes.md b/changelogs/unreleased/gh-9595-luajit-fixes.md index 5c1e45efdc71..19ecd5acb0ea 100644 --- a/changelogs/unreleased/gh-9595-luajit-fixes.md +++ b/changelogs/unreleased/gh-9595-luajit-fixes.md @@ -18,3 +18,6 @@ were fixed as part of this activity: * Fixed recording of the `__concat` metamethod for vararg or protected frames. * Fixed recording of a side trace returning to a lower frame with a maximum possible frame size. +* Fixed `debug.setmetatable()` and `lua_setmetatable()` with enabled + `jit.dump()`. +* Fixed recording of side traces with a down-recursion. diff --git a/third_party/luajit b/third_party/luajit index bbc598cc540d..ecc45358ddab 160000 --- a/third_party/luajit +++ b/third_party/luajit @@ -1 +1 @@ -Subproject commit bbc598cc540d3d48206f6f79aee6feeeafe0327c +Subproject commit ecc45358ddab52c2d0100c74da8efddef2aaf365