• Russ Cox's avatar
    runtime: assume precisestack, copystack, StackCopyAlways, ScanStackByFrames · 15b76ad9
    Russ Cox authored
    Commit to stack copying for stack growth.
    
    We're carrying around a surprising amount of cruft from older schemes.
    I am confident that precise stack scans and stack copying are here to stay.
    
    Delete fallback code for when precise stack info is disabled.
    Delete fallback code for when copying stacks is disabled.
    Delete fallback code for when StackCopyAlways is disabled.
    Delete Stktop chain - there is only one stack segment now.
    Delete M.moreargp, M.moreargsize, M.moreframesize, M.cret.
    Delete G.writenbuf (unrelated, just dead).
    Delete runtime.lessstack, runtime.oldstack.
    Delete many amd64 morestack variants.
    Delete initialization of morestack frame/arg sizes (shortens split prologue!).
    
    Replace G's stackguard/stackbase/stack0/stacksize/
    syscallstack/syscallguard/forkstackguard with simple stack
    bounds (lo, hi).
    
    Update liblink, runtime/cgo for adjustments to G.
    
    LGTM=khr
    R=khr, bradfitz
    CC=golang-codereviews, iant, r
    https://golang.org/cl/137410043
    15b76ad9
Name
Last commit
Last update
..
Makefile Loading commit data...
asm5.c Loading commit data...
asm6.c Loading commit data...
asm8.c Loading commit data...
data.c Loading commit data...
go.c Loading commit data...
ld.c Loading commit data...
list5.c Loading commit data...
list6.c Loading commit data...
list8.c Loading commit data...
obj.c Loading commit data...
obj5.c Loading commit data...
obj6.c Loading commit data...
obj8.c Loading commit data...
objfile.c Loading commit data...
pass.c Loading commit data...
pcln.c Loading commit data...
sym.c Loading commit data...