Home
last modified time | relevance | path

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

/external/llvm/include/llvm/Object/
DELFTypes.h93 uint32_t, target_endianness, 2> Elf_Word; typedef
131 typedef typename ELFDataTypeTypedefHelper<ELFType<E, W>>::Elf_Word Elf_Word; \
148 Elf_Word sh_name; // Section name (index into string table)
149 Elf_Word sh_type; // Section type (SHT_*)
150 Elf_Word sh_flags; // Section flags (SHF_*)
153 Elf_Word sh_size; // Size of section, in bytes
154 Elf_Word sh_link; // Section type-specific header table index link
155 Elf_Word sh_info; // Section type-specific extra information
156 Elf_Word sh_addralign; // Section address alignment
157 Elf_Word sh_entsize; // Size of records contained within the section
[all …]
DELF.h87 ErrorOr<ArrayRef<Elf_Word>> getSHNDXTable(const Elf_Shdr &Section) const;
186 ArrayRef<Elf_Word> ShndxTable) const;
189 ArrayRef<Elf_Word> ShndxTable) const;
193 ArrayRef<Elf_Word> ShndxTable) const;
214 ArrayRef<Elf_Word> ShndxTable) const { in getExtendedSymbolTableIndex()
221 ArrayRef<Elf_Word> ShndxTable) const { in getExtendedSymbolTableIndex()
232 ArrayRef<Elf_Word> ShndxTable) const { in getSection()
441 ErrorOr<ArrayRef<typename ELFFile<ELFT>::Elf_Word>>
444 const Elf_Word *ShndxTableBegin = in getSHNDXTable()
445 reinterpret_cast<const Elf_Word *>(base() + Section.sh_offset); in getSHNDXTable()
[all …]
DELFObjectFile.h206 ArrayRef<Elf_Word> ShndxTable;
783 ErrorOr<ArrayRef<Elf_Word>> TableOrErr = EF.getSHNDXTable(Sec); in ELFObjectFile()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Object/
DELFTypes.h107 using Elf_Word = typename ELFT::Word; \
122 Elf_Word sh_name; // Section name (index into string table)
123 Elf_Word sh_type; // Section type (SHT_*)
124 Elf_Word sh_flags; // Section flags (SHF_*)
127 Elf_Word sh_size; // Size of section, in bytes
128 Elf_Word sh_link; // Section type-specific header table index link
129 Elf_Word sh_info; // Section type-specific extra information
130 Elf_Word sh_addralign; // Section address alignment
131 Elf_Word sh_entsize; // Size of records contained within the section
137 Elf_Word sh_name; // Section name (index into string table)
[all …]
DELF.h135 Expected<ArrayRef<Elf_Word>> getSHNDXTable(const Elf_Shdr &Section) const;
136 Expected<ArrayRef<Elf_Word>> getSHNDXTable(const Elf_Shdr &Section,
282 ArrayRef<Elf_Word> ShndxTable) const;
285 ArrayRef<Elf_Word> ShndxTable) const;
288 ArrayRef<Elf_Word> ShndxTable) const;
337 ArrayRef<Elf_Word> ShndxTable) const { in getSectionIndex()
354 ArrayRef<Elf_Word> ShndxTable) const { in getSection()
364 ArrayRef<Elf_Word> ShndxTable) const { in getSection()
634 auto VOrErr = getSectionContentsAsArray<Elf_Word>(&Section); in getSHNDXTable()
637 ArrayRef<Elf_Word> V = *VOrErr; in getSHNDXTable()
DELFObjectFile.h249 ArrayRef<Elf_Word> ShndxTable);
256 ArrayRef<Elf_Word> ShndxTable;
960 ArrayRef<Elf_Word> ShndxTable; in create()
990 ArrayRef<Elf_Word> ShndxTable) in ELFObjectFile()
/external/llvm-project/llvm/include/llvm/Object/
DELFTypes.h107 using Elf_Word = typename ELFT::Word; \
122 Elf_Word sh_name; // Section name (index into string table)
123 Elf_Word sh_type; // Section type (SHT_*)
124 Elf_Word sh_flags; // Section flags (SHF_*)
127 Elf_Word sh_size; // Size of section, in bytes
128 Elf_Word sh_link; // Section type-specific header table index link
129 Elf_Word sh_info; // Section type-specific extra information
130 Elf_Word sh_addralign; // Section address alignment
131 Elf_Word sh_entsize; // Size of records contained within the section
137 Elf_Word sh_name; // Section name (index into string table)
[all …]
DELF.h153 Expected<ArrayRef<Elf_Word>> getSHNDXTable(const Elf_Shdr &Section) const;
154 Expected<ArrayRef<Elf_Word>> getSHNDXTable(const Elf_Shdr &Section,
301 ArrayRef<Elf_Word> ShndxTable) const;
304 ArrayRef<Elf_Word> ShndxTable) const;
307 ArrayRef<Elf_Word> ShndxTable) const;
355 ArrayRef<Elf_Word> ShndxTable) const { in getSectionIndex()
372 ArrayRef<Elf_Word> ShndxTable) const { in getSection()
382 ArrayRef<Elf_Word> ShndxTable) const { in getSection()
681 auto VOrErr = getSectionContentsAsArray<Elf_Word>(Section); in getSHNDXTable()
684 ArrayRef<Elf_Word> V = *VOrErr; in getSHNDXTable()
DELFObjectFile.h581 ArrayRef<Elf_Word> ShndxTable; in getSymbolAddress()
584 if (Expected<ArrayRef<Elf_Word>> ShndxTableOrErr = in getSymbolAddress()
737 ArrayRef<Elf_Word> ShndxTable; in getSymbolSection()
740 Expected<ArrayRef<Elf_Word>> ShndxTableOrErr = in getSymbolSection()
/external/llvm/tools/obj2yaml/
Delf2yaml.cpp26 typedef typename object::ELFFile<ELFT>::Elf_Word Elf_Word; typedef in __anone32646570111::ELFDumper
29 ArrayRef<Elf_Word> ShndxTable;
89 ErrorOr<ArrayRef<Elf_Word>> TableOrErr = Obj.getSHNDXTable(Sec); in dump()
378 const Elf_Word *groupMembers = in dumpGroup()
379 reinterpret_cast<const Elf_Word *>(sectionContents->data()); in dumpGroup()
380 const long count = (Shdr->sh_size) / sizeof(Elf_Word); in dumpGroup()
/external/llvm/tools/yaml2obj/
Dyaml2elf.cpp406 typedef typename object::ELFFile<ELFT>::Elf_Word Elf_Word; in writeSectionContent() typedef
410 SHeader.sh_entsize = sizeof(Elf_Word); in writeSectionContent()
416 Elf_Word SIdx; in writeSectionContent()
/external/llvm-project/llvm/tools/obj2yaml/
Delf2yaml.cpp30 typedef typename ELFT::Word Elf_Word; typedef in __anon923aafa50111::ELFDumper
57 DenseMap<const Elf_Shdr *, ArrayRef<Elf_Word>> ShndxTables;
317 if (Expected<ArrayRef<Elf_Word>> TableOrErr = Obj.getSHNDXTable(Sec)) { in dump()
1157 auto EntriesOrErr = Obj.template getSectionContentsAsArray<Elf_Word>(*Shdr); in dumpSymtabShndxSection()
1162 for (const Elf_Word &E : *EntriesOrErr) in dumpSymtabShndxSection()
1468 auto MembersOrErr = Obj.template getSectionContentsAsArray<Elf_Word>(*Shdr); in dumpGroupSection()
1473 for (Elf_Word Member : *MembersOrErr) { in dumpGroupSection()
1501 if (ContentOrErr->size() % (sizeof(Elf_Word) * 2) != 0) { in dumpARMIndexTableSection()
1506 ArrayRef<Elf_Word> Words( in dumpARMIndexTableSection()
1507 reinterpret_cast<const Elf_Word *>(ContentOrErr->data()), in dumpARMIndexTableSection()
[all …]
/external/llvm-project/lld/ELF/
DInputFiles.h192 using Elf_Word = typename ELFT::Word; variable
282 ArrayRef<Elf_Word> shndxTable;
DInputFiles.cpp572 std::vector<ArrayRef<Elf_Word>> selectedGroups; in initializeSections()
609 ArrayRef<Elf_Word> entries = in initializeSections()
610 CHECK(obj.template getSectionContentsAsArray<Elf_Word>(sec), this); in initializeSections()
694 for (ArrayRef<Elf_Word> entries : selectedGroups) in initializeSections()
/external/llvm-project/llvm/lib/InterfaceStub/
DELFObjHandler.cpp447 using Elf_Word = typename ELFT::Word; in getDynSymtabSize() typedef
453 for (Elf_Word Val : Table.buckets()) { in getDynSymtabSize()
457 const Elf_Word *It = in getDynSymtabSize()
458 reinterpret_cast<const Elf_Word *>(Table.values(BucketVal).end()); in getDynSymtabSize()
/external/llvm/tools/llvm-readobj/
DARMEHABIPrinter.h312 typedef typename object::ELFFile<ET>::Elf_Word Elf_Word; typedef
317 ArrayRef<Elf_Word> ShndxTable;
DELFDumper.cpp63 typedef typename ELFO::Elf_Word Elf_Word; \
146 typedef typename ELFO::Elf_Word Elf_Word; typedef in __anon07d3185e0111::ELFDumper
192 ArrayRef<Elf_Word> ShndxTable;
237 ArrayRef<Elf_Word> getShndxTable() const { return ShndxTable; } in getShndxTable()
712 ArrayRef<typename ELFO::Elf_Word> ShndxTable, in getSectionNameIndex()
2433 ArrayRef<Elf_Word> Data = unwrapOrError( in printGroupSections()
2434 Obj->template getSectionContentsAsArray<Elf_Word>(&Sec)); in printGroupSections()
3072 ArrayRef<Elf_Word> Buckets = HashTable->buckets(); in printHashHistogram()
3073 ArrayRef<Elf_Word> Chains = HashTable->chains(); in printHashHistogram()
3115 ArrayRef<Elf_Word> Buckets = GnuHashTable->buckets(); in printHashHistogram()
[all …]
/external/llvm-project/llvm/tools/llvm-objcopy/ELF/
DObject.cpp106 Sec.Align = ELFT::Is64Bits ? sizeof(Elf_Xword) : sizeof(Elf_Word); in visit()
115 Sec.Align = ELFT::Is64Bits ? sizeof(Elf_Xword) : sizeof(Elf_Word); in visit()
125 Sec.Size = sizeof(Elf_Word) + Sec.GroupMembers.size() * sizeof(Elf_Word); in visit()
642 llvm::copy(Sec.Indexes, reinterpret_cast<Elf_Word *>(Buf)); in visit()
1164 Elf_Word *CRC = in visit()
1165 reinterpret_cast<Elf_Word *>(Buf + Sec.Size - sizeof(Elf_Word)); in visit()
1533 ArrayRef<Elf_Word> ShndxData; in initSymbolTable()
1559 Expected<ArrayRef<Elf_Word>> Data = in initSymbolTable()
1560 ElfFile.template getSectionContentsAsArray<Elf_Word>(**ShndxSec); in initSymbolTable()
1571 Elf_Word Index = ShndxData[&Sym - Symbols->begin()]; in initSymbolTable()
DObject.h131 using Elf_Word = typename ELFT::Word;
154 using Elf_Word = typename ELFT::Word; variable
941 using Elf_Word = typename ELFT::Word; variable
/external/llvm-project/llvm/tools/llvm-readobj/
DELFDumper.cpp99 using Elf_Word = typename ELFT::Word; \
346 ArrayRef<Elf_Word> ShndxTable;
417 ArrayRef<Elf_Word> getShndxTable() const { return ShndxTable; } in getShndxTable()
2057 if (Expected<ArrayRef<Elf_Word>> ShndxTableOrErr = Obj.getSHNDXTable(Sec)) in ELFDumper()
2834 ArrayRef<Elf_Word> Buckets = GnuHashTable->buckets(); in printGnuHashTable()
2837 Expected<ArrayRef<Elf_Word>> Chains = in printGnuHashTable()
3613 ArrayRef<Elf_Word> Data; in getGroups()
3614 if (Expected<ArrayRef<Elf_Word>> ContentsOrErr = in getGroups()
3615 Obj.template getSectionContentsAsArray<Elf_Word>(Sec)) { in getGroups()
3633 Data.empty() ? Elf_Word(0) : Data[0], in getGroups()
[all …]
DARMEHABIPrinter.h327 typedef typename ET::Word Elf_Word; typedef
333 ArrayRef<Elf_Word> ShndxTable;
/external/llvm-project/llvm/docs/
DExtensions.rst325 Elf_Word cgp_from;
326 Elf_Word cgp_to;