Skip to content

cmd/compile: DWARF inlined function call line not adjusted by //line #58648

@prattmic

Description

@prattmic

The DW_AT_call_line of DW_TAG_inlined_subroutine is not adjusted by //line directives (https://cs.opensource.google/go/go/+/master:src/cmd/compile/internal/dwarfgen/dwinl.go;l=282;drc=322879d5c9dc34975a42ac77fbef7b4a8b255e8a should use RelLine, not Line). On the other hand, DW_AT_call_file is adjusted by //line.

We should adjust for //line, as the other DWARF line numbers do.

Metadata

Metadata

Assignees

Labels

FrozenDueToAgeNeedsFixThe path to resolution is known, but the work has not been done.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