Skip to content

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

Closed

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.

Activity

  1. added this to the upcoming milestone on Oct 1, 2025
  2. added
    enhancement
    standard library
    arch-arm
    on Oct 1, 2025
  3. self-assigned this
    on Oct 8, 2025
  4. modified the milestones: upcoming, urgent on Oct 8, 2025
  5. removed their assignment
    on Jan 22, 2026
  6. modified the milestones: urgent, 0.16.0 on Mar 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    arch-armenhancementstandard library

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions