Skip to content

Commit ab8b4a4

Browse files
committed
Add (i)jl_get_pgcstack to non-allocating whitelist
1 parent f82312f commit ab8b4a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/classify.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ function fn_may_allocate(name::AbstractString; ignore_throw::Bool)
6464
"box_uint8", "excstack_state", "restore_excstack", "enter_handler",
6565
"pop_handler", "f_typeof", "clock_now", "throw", "gc_queue_root", "gc_enable",
6666
"gc_disable_finalizers_internal", "gc_is_in_finalizer", "enable_gc_logging",
67-
"gc_safepoint", "gc_collect", "genericmemory_owner") || occursin(r"^unbox_.*", name)
67+
"gc_safepoint", "gc_collect", "genericmemory_owner", "get_pgcstack") || occursin(r"^unbox_.*", name)
6868
return false # these functions never allocate
6969
elseif name in ("f_ifelse", "f_typeassert", "f_is", "f_throw", "f__svec_ref",
7070
"genericmemory_copyto")

0 commit comments

Comments
 (0)