Lines Matching refs:mod
36 dwfl_build_id_find_debuginfo (Dwfl_Module *mod,
50 if (mod->dw != NULL)
54 ssize_t build_id_len = INTUSE(dwelf_dwarf_gnu_debugaltlink) (mod->dw,
58 fd = __libdwfl_open_by_build_id (mod, true, debuginfo_file_name,
66 Dwfl_Error error = __libdw_open_file (&fd, &mod->alt_elf,
73 ssize_t alt_len = INTUSE(dwelf_elf_gnu_build_id) (mod->alt_elf,
81 elf_end (mod->alt_elf);
82 mod->alt_elf = NULL;
99 if (INTUSE(dwfl_module_build_id) (mod, &bits, &vaddr) > 0)
100 fd = __libdwfl_open_mod_by_build_id (mod, true, debuginfo_file_name);
106 Dwfl_Error error = __libdw_open_file (&fd, &mod->debug.elf, true, false);
109 else if (likely (__libdwfl_find_build_id (mod, false,
110 mod->debug.elf) == 2))
113 mod->debug.valid = true;
119 elf_end (mod->debug.elf);
120 mod->debug.elf = NULL;