diff options
Diffstat (limited to 'src/runtime/runtime.h')
-rw-r--r-- | src/runtime/runtime.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/runtime/runtime.h b/src/runtime/runtime.h index 02563fd36..e6db8cb83 100644 --- a/src/runtime/runtime.h +++ b/src/runtime/runtime.h @@ -271,6 +271,8 @@ struct G uintptr stackguard0; // cannot move - also known to liblink, libmach, runtime/cgo uintptr stackbase; // cannot move - also known to libmach, runtime/cgo Panic* panic; // cannot move - also known to liblink + // stackguard1 is checked by C code; it is set to ~0 in ordinary (non-g0, non-gsignal) goroutines + uintptr stackguard1; // cannot move - also known to liblink Defer* defer; Gobuf sched; uintptr syscallstack; // if status==Gsyscall, syscallstack = stackbase to use during gc |