diff options
| author | Michael Hudson-Doyle <michael.hudson@canonical.com> | 2015-07-15 11:31:30 +1200 |
|---|---|---|
| committer | Ian Lance Taylor <iant@golang.org> | 2015-07-20 00:50:46 +0000 |
| commit | 1125cd4997597e4ca3acf3fa71ce1e3c3cd0605f (patch) | |
| tree | cd5dead1fb05f1b2218b8af9f8d83363f3a23c61 /src/runtime/debug | |
| parent | 4db074639c1eab543018acd4e74d2ccf46102897 (diff) | |
| download | go-1125cd4997597e4ca3acf3fa71ce1e3c3cd0605f.tar.xz | |
cmd/compile: define func value symbols at declaration
This is mostly Russ's https://golang.org/cl/12145 but with some extra fixes to
account for the fact that function declarations without implementations now
break shared libraries, and including my test case.
Fixes #11480.
Change-Id: Iabdc2934a0378e5025e4e7affadb535eaef2c8f1
Reviewed-on: https://go-review.googlesource.com/12340
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/runtime/debug')
| -rw-r--r-- | src/runtime/debug/stubs.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/runtime/debug/stubs.go b/src/runtime/debug/stubs.go index 8fba6cf34b..95b33e4da6 100644 --- a/src/runtime/debug/stubs.go +++ b/src/runtime/debug/stubs.go @@ -16,5 +16,4 @@ func setMaxThreads(int) int // Implemented in package runtime. func readGCStats(*[]time.Duration) -func enableGC(bool) bool func freeOSMemory() |
