cmd/compile: add line numbers for function exit paths? #31199
Labels
compiler/runtime
Issues related to the Go compiler and/or runtime.
Debugging
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
Noticed while looking at #31193.
compiles to:
Note the
<unknown line number>
entries. It seems to me that those could be attributed to the closing brace of the function: It is code executed as the function exits.I don't know whether adding line numbers here would be good or bad for debugging, or good or bad for binary size. I just thought I'd mention it in case @dr2chase sees an opportunity here. If not, we can close.
The text was updated successfully, but these errors were encountered: