runtime: don't build test files that use SetCgoTraceback for gccgo
commit69c86fb5edee3dba449adc626dffcb5e18270169
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 22 Jun 2017 14:27:09 +0000 (22 14:27 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 22 Jun 2017 14:27:09 +0000 (22 14:27 +0000)
treeae74f47931a73db978078706cc4d67b42d0fcabb
parent087c6ca76dd11b14f100a9effa54213b4e140c09
runtime: don't build test files that use SetCgoTraceback for gccgo

    The gofrontend doesn't support the runtime.SetCgoTraceback function,
    which is specifically for handling mixed Go and C tracebacks.
    Use a build tag to avoid compiling the runtime/testdata/testprogcgo
    files that refer to SetCgoTraceback. These files are not currently
    compiled anyhow, but they will be with a future gotools patch.

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@249556 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/go/gofrontend/MERGE
libgo/go/runtime/testdata/testprogcgo/pprof.go
libgo/go/runtime/testdata/testprogcgo/raceprof.go
libgo/go/runtime/testdata/testprogcgo/threadpprof.go
libgo/go/runtime/testdata/testprogcgo/traceback.go
libgo/go/runtime/testdata/testprogcgo/tracebackctxt.go
libgo/go/runtime/testdata/testprogcgo/tracebackctxt_c.c