runtime: don't build test files that use SetCgoTraceback for gccgo
authorIan Lance Taylor <ian@gcc.gnu.org>
Thu, 22 Jun 2017 14:27:09 +0000 (14:27 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Thu, 22 Jun 2017 14:27:09 +0000 (14:27 +0000)
commit2a208bc2570b07b64deb1d549332e5d981c867bc
treeae74f47931a73db978078706cc4d67b42d0fcabb
parent7d8c7b26c811748fc606085bf169dcd8a426eaf4
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

From-SVN: r249556
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