Skip to content

SFrame (Simple Frame format) support for stack traces #3735

Description

@XVilka

Frame stands for Simple Frame format. SFrame format keeps track of the minimal necessary information needed for generating stack traces:

  • Canonical Frame Address (CFA).
  • Frame Pointer (FP).
  • Return Address (RA).

The reason for existence of the SFrame format is to provide a simple, fast and low-overhead mechanism to generate stack traces.

The SFrame stack trace information is provided in a loaded section, known as the .sframe section. When available, the .sframe section appears in a new segment of its own, PT_GNU_SFRAME.

The SFrame format is currently supported only for select ABIs, namely, AMD64 and AAPCS64.

See these for the reference:

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions