Summary: In preparation for getting rid of call graphs, we need to find another way to get the list of defined procedures (which is the only place where we use the globally-computed call graph for now). The natural way to get the list of procedures defined in a file is to load the cfg for that file and look at the proc names that are the keys of the cfg. This is way too expensive, as the CFG is big. Thus, we cache this list of proc names as another column in the SQLite database of cfgs. This gives good performance in benchmarks. Reviewed By: jeremydubreil Differential Revision: D6621142 fbshipit-source-id: ed265femaster
parent
2c6fb16636
commit
1d3e0741ac
Loading…
Reference in new issue