aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/runtime/runtime.h
diff options
context:
space:
mode:
authorDmitriy Vyukov <dvyukov@google.com>2014-08-18 16:42:24 +0400
committerDmitriy Vyukov <dvyukov@google.com>2014-08-18 16:42:24 +0400
commit101c00a44f1ebb27b670f17bfb80ab315ef2a429 (patch)
tree62a83bb754d70ed83ca7a8ae3c58ede217952f90 /src/pkg/runtime/runtime.h
parent30940cfad6c45d40bec377aeacc10f6964e75b76 (diff)
downloadgo-101c00a44f1ebb27b670f17bfb80ab315ef2a429.tar.xz
runtime: fix dump of data/bss
Fixes #8530. LGTM=khr R=golang-codereviews, khr CC=golang-codereviews, rsc https://golang.org/cl/124440043
Diffstat (limited to 'src/pkg/runtime/runtime.h')
-rw-r--r--src/pkg/runtime/runtime.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/pkg/runtime/runtime.h b/src/pkg/runtime/runtime.h
index 62100a783a..0aeba39da8 100644
--- a/src/pkg/runtime/runtime.h
+++ b/src/pkg/runtime/runtime.h
@@ -779,6 +779,8 @@ extern uint32 runtime·cpuid_ecx;
extern uint32 runtime·cpuid_edx;
extern DebugVars runtime·debug;
extern uintptr runtime·maxstacksize;
+extern byte* runtime·gcdatamask;
+extern byte* runtime·gcbssmask;
/*
* common functions and data
@@ -880,6 +882,7 @@ void runtime·shrinkstack(G*);
MCache* runtime·allocmcache(void);
void runtime·freemcache(MCache*);
void runtime·mallocinit(void);
+void runtime·gcinit(void);
void runtime·chaninit(void);
void* runtime·mallocgc(uintptr size, Type* typ, uint32 flag);
void runtime·runpanic(Panic*);