1
0
mirror of https://github.com/golang/go synced 2024-11-19 03:44:40 -07:00
go/oracle
Alan Donovan f0d8175b3e oracle: skip cgo processing for queries that don't need SSA/PTA
This makes type-based queries faster and more robust because they
needn't invoke a C compiler, at the cost of worse results in/near .go
files that import "C".  It's particularly important for "referrers"
since a refererrs query on a name from the standard library can load
every package in the workspace.

Fixes issue 10347

Change-Id: I2f65474ce963de5c0897ba67eeb26290dd449cf1
Reviewed-on: https://go-review.googlesource.com/8493
Reviewed-by: David Crawshaw <crawshaw@golang.org>
2015-04-06 16:52:07 +00:00
..
serial oracle: several major improvements 2015-03-30 19:21:37 +00:00
testdata/src oracle: referrers: also scan *_test.go files for references. 2015-03-31 16:25:39 +00:00
callees.go oracle: referrers: also scan *_test.go files for references. 2015-03-31 16:25:39 +00:00
callers.go oracle: add TODO 2015-04-02 18:07:00 +00:00
callstack.go oracle: factor part of the initial setup for PTA queries 2015-03-30 21:02:07 +00:00
definition.go oracle: several major improvements 2015-03-30 19:21:37 +00:00
describe.go oracle: several major improvements 2015-03-30 19:21:37 +00:00
freevars.go oracle: several major improvements 2015-03-30 19:21:37 +00:00
implements.go oracle: referrers: also scan *_test.go files for references. 2015-03-31 16:25:39 +00:00
oracle_test.go oracle: referrers: also scan *_test.go files for references. 2015-03-31 16:25:39 +00:00
oracle.go oracle: skip cgo processing for queries that don't need SSA/PTA 2015-04-06 16:52:07 +00:00
peers.go oracle: referrers: also scan *_test.go files for references. 2015-03-31 16:25:39 +00:00
pointsto.go oracle: factor part of the initial setup for PTA queries 2015-03-30 21:02:07 +00:00
pos.go oracle: several major improvements 2015-03-30 19:21:37 +00:00
referrers.go oracle: referrers: also scan *_test.go files for references. 2015-03-31 16:25:39 +00:00
TODO oracle: several major improvements 2015-03-30 19:21:37 +00:00
what.go oracle: several major improvements 2015-03-30 19:21:37 +00:00
whicherrs.go oracle: factor part of the initial setup for PTA queries 2015-03-30 21:02:07 +00:00