• Robert Griesemer's avatar
    cmd/compile/internal/gc: add alternative node dumper for debugging · 5d444e36
    Robert Griesemer authored
    dump/fdump is a reflection-based data structure dumper slightly
    customized for the compiler's Node data structure. It dumps the
    transitivle closure of Node (and other) data structures using a
    recursive descent depth first traversal and permits filtering
    options (recursion depth limitation, filtering of struct fields).
    
    I have been using it to diagnose compiler bugs and found it more
    useful than the existing node printing code in some cases because
    field filtering reduces the output to the interesting parts.
    
    No impact on rest of compiler if functions are not called (which
    they only should during a debugging session).
    
    Change-Id: I79d7227f10dd78dbd4bbcdf204db236102fc97a7
    Reviewed-on: https://go-review.googlesource.com/136397Reviewed-by: 's avatarAlan Donovan <adonovan@google.com>
    5d444e36
Name
Last commit
Last update
..
addr2line Loading commit data...
api Loading commit data...
asm Loading commit data...
buildid Loading commit data...
cgo Loading commit data...
compile Loading commit data...
cover Loading commit data...
dist Loading commit data...
doc Loading commit data...
fix Loading commit data...
go Loading commit data...
gofmt Loading commit data...
internal Loading commit data...
link Loading commit data...
nm Loading commit data...
objdump Loading commit data...
pack Loading commit data...
pprof Loading commit data...
test2json Loading commit data...
trace Loading commit data...
vendor Loading commit data...
vet Loading commit data...