github.com/roboticscm/goman@v0.0.0-20210203095141-87c07b4a0a55/src/runtime/debug/stubs.s (about) 1 // Copyright 2014 The Go Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style 3 // license that can be found in the LICENSE file. 4 5 #include "textflag.h" 6 7 #ifdef GOARCH_arm 8 #define JMP B 9 #endif 10 11 TEXT ·setMaxStack(SB),NOSPLIT,$0-0 12 JMP runtime·setMaxStack(SB) 13 14 TEXT ·setGCPercent(SB),NOSPLIT,$0-0 15 JMP runtime·setGCPercent(SB) 16 17 TEXT ·setPanicOnFault(SB),NOSPLIT,$0-0 18 JMP runtime·setPanicOnFault(SB) 19 20 TEXT ·setMaxThreads(SB),NOSPLIT,$0-0 21 JMP runtime·setMaxThreads(SB)