Skip to content

Commit e469a1e

Browse files
authored
Export jl_get_pgcstack from libjulia (#41320)
The pgcstack symbol is special because embedders are supposed to define it themselves in localexec tls, and then access it that way. However, there is another case of of libraries that link against julia, but are not embedders, but rather plugins to be loaded later (e.g. CxxWrap). These do need access to the pgcstack, but do not have a priori access to the localexec of the embedder. Thus, re-export the `jl_get_pgcstack` function that provides access to our internal getter for the pgcstack.
1 parent 39f9ffd commit e469a1e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/jl_exported_funcs.inc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -540,4 +540,5 @@
540540
XX(jl_vprintf) \
541541
XX(jl_wakeup_thread) \
542542
XX(jl_yield) \
543-
XX(jl_print_backtrace)
543+
XX(jl_print_backtrace) \
544+
XX(jl_get_pgcstack)

0 commit comments

Comments
 (0)