Home
last modified time | relevance | path

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

/art/runtime/
Delf_file_impl.h40 using Elf_Sym = typename ElfTypes::Sym; variable
95 Elf_Sym* GetSymbol(Elf_Word section_type, Elf_Word i) const;
143 Elf_Sym* GetSymbolSectionStart(Elf_Word section_type) const;
153 typedef std::map<std::string, Elf_Sym*> SymbolTable;
158 const Elf_Sym* FindDynamicSymbol(const std::string& symbol_name) const;
177 Elf_Sym* FindSymbolByName(Elf_Word section_type,
210 Elf_Sym* symtab_section_start_;
211 Elf_Sym* dynsym_section_start_;
Delf_file.cc756 const Elf_Sym* sym = FindDynamicSymbol(symbol_name); in FindDynamicSymbolAddress()
782 Elf_Sym* symbol = GetSymbol(SHT_DYNSYM, symbol_and_chain_index); in FindDynamicSymbol()
813 Elf_Sym* sym_start = GetSymbolSectionStart(section_type); in GetSymbol()
858 Elf_Sym* symbol = GetSymbol(section_type, i); in FindSymbolByName()
904 Elf_Sym* symbol = GetSymbol(section_type, i); in FindSymbolByName()
922 Elf_Sym* symbol = FindSymbolByName(section_type, symbol_name, build_map); in FindSymbolAddress()
1312 dynsym_section_start_ = reinterpret_cast<Elf_Sym*>(d_ptr); in Load()
/art/libelffile/elf/
Delf_debug_reader.h41 typedef typename ElfTypes::Sym ALIGNED(1) Elf_Sym; typedef
127 CHECK_EQ(symtab->sh_entsize, sizeof(Elf_Sym)); in VisitFunctionSymbols()
128 size_t count = symtab->sh_size / sizeof(Elf_Sym); in VisitFunctionSymbols()
129 for (const Elf_Sym& symbol : Read<Elf_Sym>(symtab->sh_offset, count)) { in VisitFunctionSymbols()
145 CHECK_EQ(dynsym->sh_entsize, sizeof(Elf_Sym)); in VisitDynamicSymbols()
146 size_t count = dynsym->sh_size / sizeof(Elf_Sym); in VisitDynamicSymbols()
147 for (const Elf_Sym& symbol : Read<Elf_Sym>(dynsym->sh_offset, count)) { in VisitDynamicSymbols()
Delf_builder.h83 using Elf_Sym = typename ElfTypes::Sym; variable
354 sizeof(Elf_Sym)) { in SymbolSection()
355 syms_.push_back(Elf_Sym()); // The symbol table always has to start with NULL symbol. in SymbolSection()
365 Elf_Sym sym = Elf_Sym(); in Add()
375 void Add(Elf_Sym sym, const Section* section) { in Add()
386 Elf_Word GetCacheSize() { return syms_.size() * sizeof(Elf_Sym); } in GetCacheSize()
389 auto is_local = [](const Elf_Sym& sym) { return ELF_ST_BIND(sym.st_info) == STB_LOCAL; }; in WriteCachedSection()
390 auto less_then = [is_local](const Elf_Sym& a, const Elf_Sym b) { in WriteCachedSection()
403 this->WriteFully(&syms_.front(), sizeof(Elf_Sym)); in WriteCachedSection()
409 std::deque<Elf_Sym> syms_; // Buffered/cached content of the whole section.
[all …]
/art/tools/create_minidebuginfo/
Dcreate_minidebuginfo.cc45 using Elf_Sym = typename ElfTypes::Sym; in WriteMinidebugInfo() typedef
67 std::multimap<std::string_view, Elf_Sym> syms; in WriteMinidebugInfo()
68 reader.VisitFunctionSymbols([&](Elf_Sym sym, const char* name) { in WriteMinidebugInfo()
74 reader.VisitDynamicSymbols([&](Elf_Sym sym, const char* name) { in WriteMinidebugInfo()
86 const Elf_Sym& sym = entry.second; in WriteMinidebugInfo()
/art/compiler/debug/
Delf_debug_writer.cc204 using Elf_Sym = typename ElfTypes::Sym; in MakeElfFileForJIT() typedef
210 reader.VisitFunctionSymbols([&](Elf_Sym sym, const char*) { in MakeElfFileForJIT()
237 using Elf_Sym = typename ElfTypes::Sym; in PackElfFileForJIT() typedef
263 std::deque<Elf_Sym> symbols; in PackElfFileForJIT()
275 reader.VisitFunctionSymbols([&](Elf_Sym sym, const char* name) { in PackElfFileForJIT()