Lines Matching refs:build_id
67 static bool GetBuildIdFromNoteSection(const char* section, size_t section_size, BuildId* build_id) { in GetBuildIdFromNoteSection() argument
82 *build_id = BuildId(p + namesz, descsz); in GetBuildIdFromNoteSection()
90 bool GetBuildIdFromNoteFile(const std::string& filename, BuildId* build_id) { in GetBuildIdFromNoteFile() argument
96 if (GetBuildIdFromNoteSection(content.c_str(), content.size(), build_id) == false) { in GetBuildIdFromNoteFile()
104 bool GetBuildIdFromELFFile(const llvm::object::ELFFile<ELFT>* elf, BuildId* build_id) { in GetBuildIdFromELFFile() argument
114 contents->size(), build_id)) { in GetBuildIdFromELFFile()
122 static bool GetBuildIdFromObjectFile(llvm::object::ObjectFile* obj, BuildId* build_id) { in GetBuildIdFromObjectFile() argument
125 result = GetBuildIdFromELFFile(elf->getELFFile(), build_id); in GetBuildIdFromObjectFile()
127 result = GetBuildIdFromELFFile(elf->getELFFile(), build_id); in GetBuildIdFromObjectFile()
183 bool GetBuildIdFromElfFile(const std::string& filename, BuildId* build_id) { in GetBuildIdFromElfFile() argument
187 bool result = GetBuildIdFromEmbeddedElfFile(filename, 0, 0, build_id); in GetBuildIdFromElfFile()
188 LOG(VERBOSE) << "GetBuildIdFromElfFile(" << filename << ") => " << build_id->ToString(); in GetBuildIdFromElfFile()
193 uint32_t file_size, BuildId* build_id) { in GetBuildIdFromEmbeddedElfFile() argument
198 return GetBuildIdFromObjectFile(ret.obj, build_id); in GetBuildIdFromEmbeddedElfFile()