Lines Matching defs:build_id
1247 @var{buildid_out}. The returned filename and build_id are
1758 struct bfd_build_id *build_id;
1767 if (abfd->build_id && abfd->build_id->size > 0)
1769 return (struct bfd_build_id *) abfd->build_id;
1821 build_id = bfd_alloc (abfd, sizeof (struct bfd_build_id) + inote.descsz);
1822 if (build_id == NULL)
1828 build_id->size = inote.descsz;
1829 memcpy (build_id->data, inote.descdata, inote.descsz);
1830 abfd->build_id = build_id;
1833 return build_id;
1844 set to a pointer to the build_id structure. */
1850 struct bfd_build_id *build_id;
1862 build_id = get_build_id (abfd);
1863 if (build_id == NULL)
1867 name = bfd_malloc (strlen (".build-id/") + build_id->size * 2 + 2 + strlen (".debug"));
1874 d = build_id->data;
1875 s = build_id->size;
1884 *build_id_out = build_id;
1899 struct bfd_build_id *build_id;
1917 build_id = get_build_id (file);
1918 if (build_id == NULL)
1926 result = build_id->size == orig_build_id->size
1927 && memcmp (build_id->data, orig_build_id->data, build_id->size) == 0;
1965 struct bfd_build_id *build_id;
1969 check_build_id_file, &build_id);