| commit | 55b2b2dee55bd495a770347daaf858634057ecb0 | [log] [tgz] |
|---|---|---|
| author | Ian Lance Taylor <iant@golang.org> | Thu Jun 22 13:52:06 2017 -0700 |
| committer | Ian Lance Taylor <iant@golang.org> | Thu Jun 22 22:08:07 2017 +0000 |
| tree | a99e2387e52e5ea2ee8bb66b85ef5aed83278791 | |
| parent | 27204e41643f4549c5ed97d48e17912f64c0aa71 [diff] |
runtime: export getm function Use go:linkname to export the getm function. This makes it visible to runtime/testdata/testprogcgo/dropm_stub.go, which uses it as part of the TestEnsureDropM test in runtime/crash_cgo_test.go. That test is not run today, but it will be soon. Change-Id: Ib2eb427bf490f56ceee3eec3a91e5af569ec09cf Reviewed-on: https://go-review.googlesource.com/46462 Reviewed-by: Than McIntosh <thanm@google.com>