compiler, go/internal/gccgoimporter: export notinheap annotation

This is the gofrontend version of
This is required now because that change is in the 1.15.3 release.

This requires changing the go/internal/gccgoimporter package, to skip
the new annotation. This change will need to be ported to the gc and
x/tools repos.

For golang/go#41761

Change-Id: I81d63db7e7c41d168dfa5f1539c063c1c2413568
Trust: Ian Lance Taylor <>
Reviewed-by: Cherry Zhang <>
Reviewed-by: Than McIntosh <>
5 files changed