Detect cases where pointers to the stack can escape the lifetime of the stack frame by being placed into a GC allocated object. Print error messages when these are detected.
used to determine current function and module
expression to check for any pointers to the stack
do not print error messages
true if pointers to the stack can escape
See Implementation
Detect cases where pointers to the stack can escape the lifetime of the stack frame by being placed into a GC allocated object. Print error messages when these are detected.