runtime: export getm function
authorIan Lance Taylor <ian@gcc.gnu.org>
Thu, 22 Jun 2017 22:08:50 +0000 (22:08 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Thu, 22 Jun 2017 22:08:50 +0000 (22:08 +0000)
commitf384e12acc5b5b06d5fcc9a40ea6cffb8c0aa4c8
tree1f81f46bd48db07f10c7abea72ccf21948f73a05
parent61fbdfbe1b1efc68dd02f03b0d915dc2ded0e076
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.

    Reviewed-on: https://go-review.googlesource.com/46462

From-SVN: r249576
gcc/go/gofrontend/MERGE
libgo/go/runtime/proc.go