Home
last modified time | relevance | path

Searched refs:elf (Results 1 – 1 of 1) sorted by relevance

/system/extras/simpleperf/
Dread_elf.cpp77 bool GetBuildIdFromELFFile(const llvm::object::ELFFile<ELFT>* elf, BuildId* build_id) { in GetBuildIdFromELFFile() argument
78 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() local
105 result = GetBuildIdFromELFFile(elf->getELFFile(), build_id); in GetBuildIdFromElfFile()
106 } else if (auto elf = llvm::dyn_cast<llvm::object::ELF64LEObjectFile>(obj)) { in GetBuildIdFromElfFile() local
107 result = GetBuildIdFromELFFile(elf->getELFFile(), build_id); in GetBuildIdFromElfFile()