tools/go
Andrew Gerrand 28aef64757 go/internal/gcimporter: return error from BExportData
This change adds an error return value to BExportData and replaces the
various calls to log.Fatal within that library with panics that
propagate the internal error up the call stack to BExportData which
recovers and returns the error.

Fixes golang/go#25431

Change-Id: Id628c63a04145bb469bd6fbc7fbab1b0fa291b2c
Reviewed-on: https://go-review.googlesource.com/113457
Reviewed-by: David Symonds <dsymonds@golang.org>
Reviewed-by: Rob Pike <r@golang.org>
Reviewed-by: Robert Griesemer <gri@golang.org>
Run-TryBot: Robert Griesemer <gri@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2018-05-17 02:09:35 +00:00
..
ast/astutil go/ast/astutil: add Apply, for rewriting Go ASTs 2017-11-16 01:30:56 +00:00
buildutil go/buildutil: use build.Import to find GOPATH containing x/tools 2018-03-05 17:28:52 +00:00
callgraph go/callgraph/cha: fix bug computing correspondence of abstract/concrete methods 2018-02-21 01:23:17 +00:00
gccgoexportdata go/gccgoexportdata: correctly handle archive files containing string tables 2016-11-09 21:28:38 +00:00
gcexportdata go/internal/gcimporter: return error from BExportData 2018-05-17 02:09:35 +00:00
internal go/internal/gcimporter: return error from BExportData 2018-05-17 02:09:35 +00:00
loader go/loader: Fix thinko in FindPackage hook signature 2017-07-05 16:38:48 +00:00
pointer go/...: fix/disable broken tests 2018-01-17 18:00:52 +00:00
ssa go/ssa/interp: add internal/syscall/unix.syscall_fcntl to fix tests 2018-04-11 19:48:31 +00:00
types/typeutil tools: updates for minimum Go version 1.6 2017-02-07 21:06:19 +00:00
vcs go/vcs: fix command injection in VCS path 2018-02-21 04:00:24 +00:00