cmd/compile: output a DW_LNE_end_sequence instruction at the end of every function's line table #34380
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: