Home
last modified time | relevance | path

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

/art/compiler/debug/
Delf_symtab_writer.h94 auto* symtab = builder->GetSymTab(); in WriteDebugSymbols() local
127 symtab->Add(strtab->Write(kSortedSymbolName), nullptr, 0, 0, STB_GLOBAL, STT_NOTYPE); in WriteDebugSymbols()
131 symtab->Add(strtab->Write("$t"), text, mapping_symbol_address, 0, STB_GLOBAL, STT_NOTYPE); in WriteDebugSymbols()
157 symtab->Add(name_offset, text, address, info.code_size, STB_GLOBAL, STT_FUNC); in WriteDebugSymbols()
166 symtab->Add(dex_name, dex, dex_address, dex_file->Size(), STB_GLOBAL, STT_FUNC); in WriteDebugSymbols()
172 symtab->WriteCachedSection(); in WriteDebugSymbols()
Delf_debug_writer.cc261 auto* symtab = builder->GetSymTab(); in PackElfFileForJIT() local
295 symtab->Add(symbols.front(), text); in PackElfFileForJIT()
297 symtab->WriteCachedSection(); in PackElfFileForJIT()
/art/libelffile/elf/
Delf_debug_reader.h123 const Elf_Shdr* symtab = GetSection(".symtab"); in VisitFunctionSymbols() local
126 if (symtab != nullptr && strtab != nullptr) { in VisitFunctionSymbols()
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()
/art/tools/create_minidebuginfo/
Dcreate_minidebuginfo.cc64 auto* symtab = builder->GetSymTab(); in WriteMinidebugInfo() local
82 symtab->Add(strtab->Write(kSortedSymbolName), nullptr, 0, 0, STB_GLOBAL, STT_NOTYPE); in WriteMinidebugInfo()
88 symtab->Add(name_idx, text, sym.st_value, sym.st_size, STB_GLOBAL, STT_FUNC); in WriteMinidebugInfo()
92 symtab->WriteCachedSection(); in WriteMinidebugInfo()