Skip to content

cmd/internal/src: do we need to carry around absFilename (and symFilename) ? #22667

@griesemer

Description

@griesemer

pos.go defines a PosBase which carries an andFilename. absFilenames are produced from the regular filename when the PosBase is created and then don't change. It seems that we could just as well produce the absFilename only at the end, when we need it (to flow into the compiler's generated binary). Investigate.

Reminder issue.

(See also #22660.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.compiler/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