mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
cmd/compile: add AMD64 parameter register defs, Arg ops, plumb to ssa.Config
This is partial plumbing recycled from the original register abi test work; these are the parts that translate easily. Some other bits are deferred till later when they are ready to be used. For #40724. Change-Id: Ica8c55a4526793446189725a2bc3839124feb38f Reviewed-on: https://go-review.googlesource.com/c/go/+/260539 Trust: David Chase <drchase@google.com> Reviewed-by: Cherry Zhang <cherryyz@google.com>
This commit is contained in:
parent
42cd40ee74
commit
74cac8d479
7 changed files with 141 additions and 50 deletions
|
|
@ -112,7 +112,7 @@ const (
|
|||
stackDebug = 0
|
||||
stackFromSystem = 0 // allocate stacks from system memory instead of the heap
|
||||
stackFaultOnFree = 0 // old stacks are mapped noaccess to detect use after free
|
||||
stackPoisonCopy = 0 // fill stack that should not be accessed with garbage, to detect bad dereferences during copy
|
||||
stackPoisonCopy = 1 // fill stack that should not be accessed with garbage, to detect bad dereferences during copy
|
||||
stackNoCache = 0 // disable per-P small stack caches
|
||||
|
||||
// check the BP links during traceback.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue