mirror of
https://github.com/golang/go.git
synced 2025-05-31 23:25:39 +00:00
oracle: add TODO
Change-Id: I315af962e43a3ae9c8e5cad13766d2200484fdf9 Reviewed-on: https://go-review.googlesource.com/8386 Reviewed-by: David Crawshaw <crawshaw@golang.org>
This commit is contained in:
parent
d4e7010150
commit
a18bb1d557
@ -59,6 +59,10 @@ func callers(q *Query) error {
|
||||
return fmt.Errorf("no SSA function built for this location (dead code?)")
|
||||
}
|
||||
|
||||
// TODO(adonovan): opt: if function is never address-taken, skip
|
||||
// the pointer analysis. Just look for direct calls. This can
|
||||
// be done in a single pass over the SSA.
|
||||
|
||||
// Run the pointer analysis, recording each
|
||||
// call found to originate from target.
|
||||
ptaConfig.BuildCallGraph = true
|
||||
|
Loading…
x
Reference in New Issue
Block a user