aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/internal
diff options
context:
space:
mode:
authorCherry Mui <cherryyz@google.com>2022-10-14 13:21:35 -0400
committerGopher Robot <gobot@golang.org>2022-10-14 18:33:34 +0000
commit4e3d805a015153ca4e3382415c2474e4f954ddee (patch)
treed90cc4740ab1482e6d66d1837740420a22d7a091 /src/runtime/internal
parentae60636ab14e1bd49a8e5d818a5da8a526e59969 (diff)
downloadgo-4e3d805a015153ca4e3382415c2474e4f954ddee.tar.xz
runtime/internal/startlinetest: add NO_LOCAL_POINTERS macro to asm function
Should fix the mayMoreStack test. Change-Id: Iab99192629ab62ced81e95d756f2dd15f9b7e869 Reviewed-on: https://go-review.googlesource.com/c/go/+/443064 Auto-Submit: Austin Clements <austin@google.com> Reviewed-by: Michael Pratt <mpratt@google.com> Reviewed-by: Austin Clements <austin@google.com> Run-TryBot: Cherry Mui <cherryyz@google.com> TryBot-Result: Gopher Robot <gobot@golang.org>
Diffstat (limited to 'src/runtime/internal')
-rw-r--r--src/runtime/internal/startlinetest/func_amd64.s2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/runtime/internal/startlinetest/func_amd64.s b/src/runtime/internal/startlinetest/func_amd64.s
index 6baeba28d4..ace5b34e70 100644
--- a/src/runtime/internal/startlinetest/func_amd64.s
+++ b/src/runtime/internal/startlinetest/func_amd64.s
@@ -2,6 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
+#include "funcdata.h"
#include "textflag.h"
// Assembly function for runtime_test.TestStartLineAsm.
@@ -20,6 +21,7 @@
// callerStartLine since it is in a different package.
TEXT ·AsmFunc<ABIInternal>(SB),NOSPLIT,$8-0
+ NO_LOCAL_POINTERS
MOVQ $0, AX // wantInlined
CALL runtime_test·callerStartLine<ABIInternal>(SB)
RET