Lines Matching defs:ibfd
38 void check_format(string const & file, bfd ** ibfd)
40 if (!bfd_check_format_matches(*ibfd, bfd_object, NULL)) {
42 bfd_close(*ibfd);
43 *ibfd = NULL;
79 bool get_debug_link_info(bfd * ibfd, string & filename, unsigned long & crc32)
84 sect = bfd_get_section_by_name(ibfd, ".gnu_debuglink");
89 bfd_size_type debuglink_size = bfd_section_size(ibfd, sect);
94 if (!bfd_get_section_contents(ibfd, sect,
106 crc32 = bfd_get_32(ibfd,
267 * so it must have a lifetime longer than the ibfd */
268 bfd * ibfd = bfd_openr(file.c_str(), NULL);
269 if (!ibfd) {
274 check_format(file, &ibfd);
276 return ibfd;
283 * so it must have a lifetime longer than the ibfd */
284 bfd * ibfd = bfd_fdopenr(file.c_str(), NULL, fd);
285 if (!ibfd) {
290 check_format(file, &ibfd);
292 return ibfd;
296 bool find_separate_debug_file(bfd * ibfd, string const & filepath_in,
303 if (!get_debug_link_info(ibfd, basename, crc32))