Lines Matching refs:ibfd
38 void check_format(string const & file, bfd ** ibfd) in check_format() argument
40 if (!bfd_check_format_matches(*ibfd, bfd_object, NULL)) { in check_format()
42 bfd_close(*ibfd); in check_format()
43 *ibfd = NULL; in check_format()
79 bool get_debug_link_info(bfd * ibfd, string & filename, unsigned long & crc32) in get_debug_link_info() argument
84 sect = bfd_get_section_by_name(ibfd, ".gnu_debuglink"); in get_debug_link_info()
89 bfd_size_type debuglink_size = bfd_section_size(ibfd, sect); in get_debug_link_info()
94 if (!bfd_get_section_contents(ibfd, sect, in get_debug_link_info()
106 crc32 = bfd_get_32(ibfd, in get_debug_link_info()
268 bfd * ibfd = bfd_openr(file.c_str(), NULL); in open_bfd() local
269 if (!ibfd) { in open_bfd()
274 check_format(file, &ibfd); in open_bfd()
276 return ibfd; in open_bfd()
284 bfd * ibfd = bfd_fdopenr(file.c_str(), NULL, fd); in fdopen_bfd() local
285 if (!ibfd) { in fdopen_bfd()
290 check_format(file, &ibfd); in fdopen_bfd()
292 return ibfd; in fdopen_bfd()
296 bool find_separate_debug_file(bfd * ibfd, string const & filepath_in, in find_separate_debug_file() argument
303 if (!get_debug_link_info(ibfd, basename, crc32)) in find_separate_debug_file()