github.com/sunvim/utils@v0.1.0/linear_ac/getg_amd64.s (about) 1 #include "textflag.h" 2 3 // func getg() unsafe.Pointer 4 TEXT ·getg(SB), NOSPLIT, $0-8 5 MOVQ (TLS), AX 6 MOVQ AX, ret+0(FP) 7 RET