Lines Matching refs:build_id
103 bool GetBuildIdFromNoteSection(const char* section, size_t section_size, BuildId* build_id) { in GetBuildIdFromNoteSection() argument
122 *build_id = BuildId(p + namesz, descsz); in GetBuildIdFromNoteSection()
133 ElfStatus GetBuildIdFromNoteFile(const std::string& filename, BuildId* build_id) { in GetBuildIdFromNoteFile() argument
138 if (!GetBuildIdFromNoteSection(content.c_str(), content.size(), build_id)) { in GetBuildIdFromNoteFile()
145 ElfStatus GetBuildIdFromELFFile(const llvm::object::ELFObjectFile<ELFT>* elf, BuildId* build_id) { in GetBuildIdFromELFFile() argument
158 if (GetBuildIdFromNoteSection(data.data(), data.size(), build_id)) { in GetBuildIdFromELFFile()
166 static ElfStatus GetBuildIdFromObjectFile(llvm::object::ObjectFile* obj, BuildId* build_id) { in GetBuildIdFromObjectFile() argument
168 return GetBuildIdFromELFFile(elf, build_id); in GetBuildIdFromObjectFile()
170 return GetBuildIdFromELFFile(elf, build_id); in GetBuildIdFromObjectFile()
227 ElfStatus GetBuildIdFromElfFile(const std::string& filename, BuildId* build_id) { in GetBuildIdFromElfFile() argument
232 return GetBuildIdFromEmbeddedElfFile(filename, 0, 0, build_id); in GetBuildIdFromElfFile()
236 uint32_t file_size, BuildId* build_id) { in GetBuildIdFromEmbeddedElfFile() argument
242 return GetBuildIdFromObjectFile(wrapper.obj, build_id); in GetBuildIdFromEmbeddedElfFile()