From: Mikhail Shishatskiy via Tarantool-patches <tarantool-patches@dev.tarantool.org>
To: tarantool-patches@dev.tarantool.org, imun@tarantool.org,
skaplun@tarantool.org
Subject: [Tarantool-patches] [PATCH luajit v1 4/4] luajit: change order of modules
Date: Sat, 21 Aug 2021 19:50:02 +0700 [thread overview]
Message-ID: <20210821125002.408132-5-m.shishatskiy@tarantool.org> (raw)
In-Reply-To: <20210821125002.408132-1-m.shishatskiy@tarantool.org>
Since commit [1], <memprof/parse.lua> module depends
on <memprof/humanize.lua> module, so we need to change
order of these modules in <src/lua/init.c> to avoid
unprotected API calls.
Follows up tarantool/tarantool#5815
---
Issue: https://github.com/tarantool/tarantool/issues/5815
Branch: https://github.com/tarantool/luajit/tree/shishqa/gh-5815-enrich-symtab-when-prototype-is-allocated
Tarantool branch: https://github.com/tarantool/tarantool/tree/shishqa/gh-5815-enrich-symtab-when-prototype-is-allocated
src/lua/init.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/lua/init.c b/src/lua/init.c
index 8ac2f3592..fcb1d2c90 100644
--- a/src/lua/init.c
+++ b/src/lua/init.c
@@ -126,8 +126,8 @@ extern char strict_lua[],
/* tools.* libraries. */
bufread_lua[],
symtab_lua[],
- parse_lua[],
humanize_lua[],
+ parse_lua[],
process_lua[],
memprof_lua[]
;
@@ -180,8 +180,8 @@ static const char *lua_modules[] = {
/* tools.* libraries. Order is important. */
"utils.bufread", bufread_lua,
"utils.symtab", symtab_lua,
- "memprof.parse", parse_lua,
"memprof.humanize", humanize_lua,
+ "memprof.parse", parse_lua,
"memprof.process", process_lua,
"memprof", memprof_lua,
NULL
--
2.32.0
prev parent reply other threads:[~2021-08-21 12:52 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-21 12:49 [Tarantool-patches] [PATCH luajit v1 0/4] memprof: enrich symtab when meeting new prototype Mikhail Shishatskiy via Tarantool-patches
2021-08-21 12:49 ` [Tarantool-patches] [PATCH luajit v1 1/4] " Mikhail Shishatskiy via Tarantool-patches
2021-08-24 14:16 ` Mikhail Shishatskiy via Tarantool-patches
2021-08-21 12:50 ` [Tarantool-patches] [PATCH luajit v1 2/4] memprof: demangle symbols on the spot Mikhail Shishatskiy via Tarantool-patches
2021-08-21 12:50 ` [Tarantool-patches] [PATCH luajit v1 3/4] memprof: substitute long proto names with aliases Mikhail Shishatskiy via Tarantool-patches
2021-08-21 12:50 ` Mikhail Shishatskiy via Tarantool-patches [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210821125002.408132-5-m.shishatskiy@tarantool.org \
--to=tarantool-patches@dev.tarantool.org \
--cc=imun@tarantool.org \
--cc=m.shishatskiy@tarantool.org \
--cc=skaplun@tarantool.org \
--subject='Re: [Tarantool-patches] [PATCH luajit v1 4/4] luajit: change order of modules' \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox