Searched refs:elf (Results 1 – 1 of 1) sorted by relevance
77 bool GetBuildIdFromELFFile(const llvm::object::ELFFile<ELFT>* elf, BuildId* build_id) { in GetBuildIdFromELFFile() argument78 for (auto section_iterator = elf->begin_sections(); section_iterator != elf->end_sections(); in GetBuildIdFromELFFile()81 auto contents = elf->getSectionContents(&*section_iterator); in GetBuildIdFromELFFile()104 if (auto elf = llvm::dyn_cast<llvm::object::ELF32LEObjectFile>(obj)) { in GetBuildIdFromElfFile() local105 result = GetBuildIdFromELFFile(elf->getELFFile(), build_id); in GetBuildIdFromElfFile()106 } else if (auto elf = llvm::dyn_cast<llvm::object::ELF64LEObjectFile>(obj)) { in GetBuildIdFromElfFile() local107 result = GetBuildIdFromELFFile(elf->getELFFile(), build_id); in GetBuildIdFromElfFile()