cmd/go: pass -funwind-tables when compiling C code
authorIan Lance Taylor <ian@gcc.gnu.org>
Fri, 18 Aug 2017 04:40:42 +0000 (04:40 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Fri, 18 Aug 2017 04:40:42 +0000 (04:40 +0000)
commitc32bd276c68f5089b7e8ee58a8bc85c9bd543455
tree4c2d75f13fdcf566821f79ee14f2bce76066f9a0
parent091f25d75233c4ad11fdd1027351c25bdf0f2d0e
cmd/go: pass -funwind-tables when compiling C code

    Using -funwind-tables is necessary to permit Go code to correctly
    throw a panic through C code.  This hasn't been necessary in the past
    as -funwind-tables is the default on x86.  However, it is not the
    default for PPC AIX.

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

From-SVN: r251179
gcc/go/gofrontend/MERGE
libgo/go/cmd/go/build.go