• Austin Clements's avatar
    runtime: support for debugger function calls · c5ed10f3
    Austin Clements authored
    This adds a mechanism for debuggers to safely inject calls to Go
    functions on amd64. Debuggers must participate in a protocol with the
    runtime, and need to know how to lay out a call frame, but the runtime
    support takes care of the details of handling live pointers in
    registers, stack growth, and detecting the trickier conditions when it
    is unsafe to inject a user function call.
    
    Fixes #21678.
    Updates derekparker/delve#119.
    
    Change-Id: I56d8ca67700f1f77e19d89e7fc92ab337b228834
    Reviewed-on: https://go-review.googlesource.com/109699
    Run-TryBot: Austin Clements <austin@google.com>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: 's avatarKeith Randall <khr@golang.org>
    c5ed10f3
Name
Last commit
Last update
..
ar.go Loading commit data...
config.go Loading commit data...
data.go Loading commit data...
deadcode.go Loading commit data...
decodesym.go Loading commit data...
dwarf.go Loading commit data...
dwarf_test.go Loading commit data...
elf.go Loading commit data...
go.go Loading commit data...
ld.go Loading commit data...
lib.go Loading commit data...
link.go Loading commit data...
macho.go Loading commit data...
macho_combine_dwarf.go Loading commit data...
main.go Loading commit data...
nooptcgolink_test.go Loading commit data...
outbuf.go Loading commit data...
pcln.go Loading commit data...
pe.go Loading commit data...
sym.go Loading commit data...
symtab.go Loading commit data...
typelink.go Loading commit data...
util.go Loading commit data...