• David Chase's avatar
    cmd/compile: attach slots to incoming params for better debugging · fa31093e
    David Chase authored
    This change attaches a slots to the OpArg values for
    incoming params, and this in turn causes location lists
    to be generated for params, and that yields better
    debugging, in delve and sometimes in gdb.
    
    The parameter lifetimes could start earlier; they are in
    fact defined on entry, not at the point where the OpArg is
    finally mentioned.  (that will be addressed in another CL)
    
    Change-Id: Icca891e118291d260c35a14acd5bc92bb82d9e9f
    Reviewed-on: https://go-review.googlesource.com/c/141697
    Run-TryBot: David Chase <drchase@google.com>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: 's avatarKeith Randall <khr@golang.org>
    fa31093e
Name
Last commit
Last update
.github Loading commit data...
api Loading commit data...
doc Loading commit data...
lib/time Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.md Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README.md Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...