From 101c00a44f1ebb27b670f17bfb80ab315ef2a429 Mon Sep 17 00:00:00 2001 From: Dmitriy Vyukov Date: Mon, 18 Aug 2014 16:42:24 +0400 Subject: runtime: fix dump of data/bss Fixes #8530. LGTM=khr R=golang-codereviews, khr CC=golang-codereviews, rsc https://golang.org/cl/124440043 --- src/pkg/runtime/runtime.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/pkg/runtime/runtime.h') 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*); -- cgit v1.3