MCPcopy Create free account
hub / github.com/archseer/enigma / save_stacktrace

Function save_stacktrace

enigma/src/exception.rs:549–651  ·  view source on GitHub ↗

Quick-saving the stack trace in an internal form on the heap. Note that c_p->ftrace will point to a cons cell which holds the given args and the saved data (encoded as a bignum). There is an issue with line number information. Line number information is associated with the address *before* an operation that may fail or be stored stored on the stack. But continuation pointers point after its call

(
    process: &RcProcess,
    exc: &mut Exception,
    /*bif_mfa: &MFA,*/ mut args: Term,
)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

handle_errorFunction · 0.85

Calls 5

make_arglistFunction · 0.85
erts_save_stacktraceFunction · 0.85
context_mutMethod · 0.80
allocMethod · 0.80
cloneMethod · 0.45

Tested by

no test coverage detected