]> git.ipfire.org Git - thirdparty/gcc.git/commit
runtime: export getm function
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 22 Jun 2017 22:08:50 +0000 (22:08 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 22 Jun 2017 22:08:50 +0000 (22:08 +0000)
commitcba7fb514589f3f2894a434b319c408b4d7ada80
tree1f81f46bd48db07f10c7abea72ccf21948f73a05
parentdb5f8d15666b7503520ad85e50171610e0051245
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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@249576 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/go/gofrontend/MERGE
libgo/go/runtime/proc.go