cmd/compile: bad line number assigned to instruction #53456
Labels
Debugging
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
Compiling the following with
-gcflags='all=-N -l'
:Produces a binary for main.(*T).Inc with this:
The instruction at 0x45fd48 which passes
key
to mapaccess1_fast64 is assigned the function's header as its line number instead of the statement it belongs to.ref. go-delve/delve#3033
cc @dr2chase
The text was updated successfully, but these errors were encountered: