Lines Matching refs:root
140 def check_rels(root: LoadedLibrary, defs: Definitions) -> None:
143 for lib in bfs_walk(root):
263 def __init__(self, root: LoadedLibrary):
264 self._root = root
266 all_libs = [x for x in bfs_walk(root) if x is not root and x.soname not in kBionicSonames]
283 def make_ninja_benchmark(root: LoadedLibrary, defs: Definitions, cc: str, out: Path) -> None:
285 lib_names = LibNames(root)
300 for lib in bfs_walk(root):
309 has_map_file = make_asm_file(lib, lib is root, asm_path, map_path, defs)
312 if lib is root:
321 subprocess.run(['ninja', '-C', str(out), lib_names.name(root)], check=True)
324 def make_soong_benchmark(root: LoadedLibrary, defs: Definitions, out: Path) -> None:
326 lib_names = LibNames(root)
334 for lib in bfs_walk(root):
336 if lib is root: continue
341 for lib in bfs_walk(root):
350 has_map_file = make_asm_file(lib, lib is root, asm_path, map_path, defs)
352 if lib is root:
390 root = json_to_elf_tree(json.load(f))
391 defs = build_symbol_index(root)
392 check_rels(root, defs)
398 make_ninja_benchmark(root, defs, args.cc, out)
400 make_soong_benchmark(root, defs, out)