Luna::stack_backtrace_symbols
const c8 ** stack_backtrace_symbols(Span< const opaque_t > frames)
Gets symbolic names for frames returned by stack_backtrace.
Parameters
-
in frames
One buffer that contains frames to query.
Return value
Returns one array of strings that store symbolic names for frames. Strings are stored in the same order as frames. If the symbolic name of one frame is not found, nullptr will be written.
Valid Usage
- All frames in
framesmust be valid frames returned by stack_backtrace. In particular, if the return value of stack_backtrace is smaller than the size of the frame buffer passed to stack_backtrace, only valid frames, not the whole buffer, shall be specified in this call.