cmd/compile: output a DW_LNE_end_sequence instruction at the end of every function's line table #34380
Labels
compiler/runtime
Issues related to the Go compiler and/or runtime.
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
As we move DWARF generation out of the linker and into the compiler, we've taken some short cuts when emitting the line table. Specifically, rather than outputting a DW_LNE_end_sequence at the end of every function's debug_lines table, we reset the state machine. See discussion HERE.
We are blocked on Delve supporting multiple DW_LNE_end_sequences per compilation unit. See Delve's issue HERE.
In addition to making the state machine mechanics simpler, we can remove the assert in the linker that PCs are monotonically increasing per functions in a compilation unit. Again, see the discussion.
The text was updated successfully, but these errors were encountered: