Skip to content

Commit 98b6153

Browse files
author
Adnan Alhomssi
committed
export num_stack_mappings
1 parent 9287b01 commit 98b6153

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/gc-stacks.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,9 @@ static void free_stack(void *stkbuf, size_t bufsz)
7676
}
7777
#endif
7878

79+
JL_DLLEXPORT uint32_t jl_get_num_stack_mappings() {
80+
return jl_atomic_load_relaxed(&num_stack_mappings);
81+
}
7982

8083
const unsigned pool_sizes[] = {
8184
128 * 1024,

src/jl_exported_funcs.inc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,7 @@
241241
XX(jl_get_UNAME) \
242242
XX(jl_get_world_counter) \
243243
XX(jl_get_zero_subnormals) \
244+
XX(jl_get_num_stack_mappings) \
244245
XX(jl_gf_invoke_lookup) \
245246
XX(jl_gf_invoke_lookup_worlds) \
246247
XX(jl_git_branch) \

0 commit comments

Comments
 (0)