Skip to content

Support ARM exception tables for stack tracing in std.debug #25422

@mlugg

Description

@mlugg

Most ELF targets use DWARF CFI through the .eh_frame section for safely unwinding the call stack. However, ARM has its own mechanism, using the sections .ARM.exidx and .ARM.extab.

The format of these sections is defined by the document "Exception Handling ABI for the Arm Architecture". link to latest version at the time of writing

std.debug.SelfInfo---in particular the ELF implementation, std.debug.SelfInfo.Elf---should support interpreting this format on ARM to collect stack traces safely.

Metadata

Metadata

Assignees

Labels

arch-arm32-bit ARMenhancementSolving this issue will likely involve adding new logic or components to the codebase.standard libraryThis issue involves writing Zig code for the standard library.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions