Skip to content

cmd/link: trampoline insertion breaks DWARF Line Program Table output on Darwin/ARM64 [1.19 backport] #54406

@jquirke

Description

@jquirke

Please backport #54320 to Go 1.19.

It is not feasible to revert back to versions of Go prior to the linker redesign in 1.15 where this regression has occurred due to the absence of of many new features (especially generics) and security fixes.

Moreover, in the last year ARM64 architectures have gone "mainstream" with Go developers and not being able to use debug binaries with trampolines, including tests is a substantial hindrance to the "magical" experience of Go.

Metadata

Metadata

Assignees

No one assigned

    Labels

    CherryPickApprovedUsed during the release process for point releasesFrozenDueToAgecompiler/runtimeIssues related to the Go compiler and/or runtime.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions