Lines Matching refs:Elf_Shdr
39 typedef typename ElfTypes::Shdr ALIGNED(1) Elf_Shdr; typedef
69 CHECK_EQ(header_->e_shentsize, sizeof(Elf_Shdr)); in ElfDebugReader()
72 sections_ = Read<Elf_Shdr>(header_->e_shoff, header_->e_shnum); in ElfDebugReader()
73 for (const Elf_Shdr& section : sections_) { in ElfDebugReader()
79 const Elf_Shdr* gnu_debugdata = section_map_[".gnu_debugdata"]; in ElfDebugReader()
93 ArrayRef<Elf_Shdr> GetSections() { return sections_; } in GetSections()
95 const Elf_Shdr* GetSection(const char* name) { return section_map_[name]; } in GetSection()
99 const Elf_Shdr* symtab = GetSection(".symtab"); in VisitFunctionSymbols()
100 const Elf_Shdr* strtab = GetSection(".strtab"); in VisitFunctionSymbols()
101 const Elf_Shdr* text = GetSection(".text"); in VisitFunctionSymbols()
118 const Elf_Shdr* dynsym = GetSection(".dynsym"); in VisitDynamicSymbols()
119 const Elf_Shdr* dynstr = GetSection(".dynstr"); in VisitDynamicSymbols()
131 const Elf_Shdr* debug_frame = GetSection(".debug_frame"); in VisitDebugFrame()
165 ArrayRef<const Elf_Shdr> sections_;
166 std::unordered_map<std::string_view, const Elf_Shdr*> section_map_;