diff options
| author | David Chase <drchase@google.com> | 2020-10-07 09:44:16 -0400 |
|---|---|---|
| committer | David Chase <drchase@google.com> | 2021-02-23 18:14:42 +0000 |
| commit | 74cac8d47937af01bd9653df8d601b08843d3808 (patch) | |
| tree | 85447b4809283046c4ee0751302b5185153804f7 /src/runtime/stack.go | |
| parent | 42cd40ee74050391e4714eefa8aeb0242b93b0f5 (diff) | |
| download | go-74cac8d47937af01bd9653df8d601b08843d3808.tar.xz | |
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>
Diffstat (limited to 'src/runtime/stack.go')
| -rw-r--r-- | src/runtime/stack.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/stack.go b/src/runtime/stack.go index d971e5e26f..c572f7296f 100644 --- a/src/runtime/stack.go +++ b/src/runtime/stack.go @@ -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. |
