• Austin Clements's avatar
    runtime: make gcDumpObject useful on stack frames · 38f1df66
    Austin Clements authored
    gcDumpObject is often used on a stack pointer (for example, when
    checkmark finds an unmarked object on the stack), but since stack
    spans don't have an elemsize, it doesn't print any of the memory from
    the frame. Make it at least slightly more useful by printing
    everything between obj and obj+off (inclusive). While we're here, also
    print out the span state.
    
    Change-Id: I51be064ea8791b4a365865bfdc7afa7b5aaecfbd
    Reviewed-on: https://go-review.googlesource.com/30142
    Run-TryBot: Austin Clements <austin@google.com>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: 's avatarRick Hudson <rlh@golang.org>
    38f1df66
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...