/ go Public
cmd/compile: bad DWARF location for variable #58813
Issues related to the Go compiler and/or runtime.
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Given the following code:
Compiled with `-gcflags='all=-N -l', main.cul function compiles into:
and the variable
DW_OP_fbreg -0x18has its location, however at instruction 0x49c8ea, which is the instruction picked for a breakpoint on line
:8, the variable is stored on register rcx, not in its stack location (where it gets moved only later at instruction 0x49c8ed).
Originally reported as go-delve/delve#3290.
The text was updated successfully, but these errors were encountered: