A fixed‐capacity array of captured addresses and their symbolized frames.

Synopsis

Declared in <folly/debugging/symbolizer/SymbolizedFrame.h>

template<size_t N>
struct FrameArray;

Member Functions

Name

Description

FrameArray [constructor]

Construct an empty frame array.

Data Members

Name

Description

addresses

The captured instruction addresses.

frameCount

Number of valid frames.

frames

The symbolized frames corresponding to addresses.

Non-Member Functions

Name

Description

getAsyncStackTraceSafe

Capture the current async stack trace into fa, async‐signal‐safely.

getStackTrace

Capture the current stack trace into fa.

getStackTraceHeap

Capture the current stack trace into fa, allocating its context on the heap.

getStackTraceSafe

Capture the current stack trace into fa, async‐signal‐safely.

getStackTraceStr

Convert FrameArray to string representation. Convenience function for debugging and logging.

Created with MrDocs