mirror of
https://github.com/golang/go
synced 2024-11-19 09:34:52 -07:00
99b2441d95
If a -pos argument is specified, a 'callgraph' query reports only the functions within the query package. This produces a far more manageable amount of information, and because we don't need to package-qualify the names, the result is easier to read. Added tests: - callgraph query with/without -pos (The test driver was extended to allow "nopos" queries.) - callers and callees queries don't return wrappers Also, in go/callgraph: - (*Node).String, (*Edge).String - (*Graph).DeleteSyntheticNodes eliminates synthetic wrapper functions, preserving topology. Used in all four oracle "call*" queries. - (*Graph).DeleteNode LGTM=crawshaw R=crawshaw CC=golang-codereviews https://golang.org/cl/66240044 |
||
---|---|---|
.. | ||
src |