Process the modules in one group of modules from their cached data. This can be used to process an SCC of modules. This involves loading the tree (i.e. module symbol tables) from cache file and then fixing cross-references in the symbols.
(graph: Graph, modules: list[str], manager: BuildManager)
| 4690 | |
| 4691 | |
| 4692 | def process_fresh_modules(graph: Graph, modules: list[str], manager: BuildManager) -> None: |
| 4693 | """Process the modules in one group of modules from their cached data. |
| 4694 | |
| 4695 | This can be used to process an SCC of modules. This involves loading the tree (i.e. |
| 4696 | module symbol tables) from cache file and then fixing cross-references in the symbols. |
| 4697 | """ |
| 4698 | t0 = time.time() |
| 4699 | for id in modules: |
| 4700 | graph[id].load_tree() |
| 4701 | t1 = time.time() |
| 4702 | for id in modules: |
| 4703 | graph[id].fix_cross_refs() |
| 4704 | t2 = time.time() |
| 4705 | manager.add_stats(process_fresh_time=t2 - t0, load_tree_time=t1 - t0) |
| 4706 | |
| 4707 | |
| 4708 | def maybe_load_deps(graph: Graph, ascc: SCC, manager: BuildManager) -> None: |
no test coverage detected
searching dependent graphs…