Skip to content

cmd/compile: inline marker targets not reachable after assembly on arm  #40796

@mundaym

Description

@mundaym

The linux-arm buildbot is failing the test added in CL 247697. This is the same fundamental issue as seen in #40689 (ppc64x) and #40473 (s390x), and should be a similar fix.

The arm assembler is removing a Prog from the function while processing it. That same Prog is then being used to generate inlining data after assembly. Since the Prog was never assembled its PC is incorrect and so the generated inlining data is broken. This can cause problems with tracebacks, such as the infinite loop seen in #40473.

Build log: https://build.golang.org/log/eb1975072af9202c55e1ce8697f21fd94de691fe

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrozenDueToAgeNeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.arch-armIssues solely affecting the 32-bit arm architecture.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions