Home
last modified time | relevance | path

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

/external/llvm-project/llvm/tools/llvm-objcopy/wasm/
DWriter.h27 using SectionHeader = SmallVector<char, 8>;
30 std::vector<SectionHeader> SectionHeaders;
41 static SectionHeader createSectionHeader(const Section &S,
DWriter.cpp22 Writer::SectionHeader Writer::createSectionHeader(const Section &S, in createSectionHeader()
24 SectionHeader Header; in createSectionHeader()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/
DOatFile.java342 private List<SectionHeader> getSections() {
360 return new AbstractList<SectionHeader>() {
361 @Override public SectionHeader get(int index) {
380 for (SectionHeader header: getSections()) {
381 if (header.getType() == SectionHeader.TYPE_DYNAMIC_SYMBOL_TABLE) {
402 private abstract class SectionHeader {
405 public SectionHeader(int offset) { this.offset = offset; }
415 private class SectionHeader32Bit extends SectionHeader {
424 private class SectionHeader64Bit extends SectionHeader {
439 public SymbolTable(@Nonnull SectionHeader header) {
[all …]
/external/llvm/tools/llvm-pdbdump/
Dllvm-pdbdump.cpp437 WithColor(Printer, PDB_ColorItem::SectionHeader).get() in dumpPretty()
452 WithColor(Printer, PDB_ColorItem::SectionHeader).get() << "---TYPES---"; in dumpPretty()
461 WithColor(Printer, PDB_ColorItem::SectionHeader).get() << "---SYMBOLS---"; in dumpPretty()
472 WithColor(Printer, PDB_ColorItem::SectionHeader).get() << "---GLOBALS---"; in dumpPretty()
498 WithColor(Printer, PDB_ColorItem::SectionHeader).get() << "---EXTERNALS---"; in dumpPretty()
DLinePrinter.h75 SectionHeader, enumerator
DLinePrinter.cpp116 case PDB_ColorItem::SectionHeader: in applyColor()
/external/llvm-project/llvm/include/llvm/ObjectYAML/
DELFYAML.h93 struct SectionHeader { struct
98 Optional<std::vector<SectionHeader>> Sections; argument
99 Optional<std::vector<SectionHeader>> Excluded;
675 LLVM_YAML_IS_SEQUENCE_VECTOR(llvm::ELFYAML::SectionHeader) in LLVM_YAML_IS_SEQUENCE_VECTOR()
812 template <> struct MappingTraits<ELFYAML::SectionHeader> { in LLVM_YAML_IS_SEQUENCE_VECTOR()
813 static void mapping(IO &IO, ELFYAML::SectionHeader &SHdr); in LLVM_YAML_IS_SEQUENCE_VECTOR()
/external/llvm-project/llvm/tools/llvm-pdbutil/
DLinePrinter.h148 SectionHeader, enumerator
Dllvm-pdbutil.cpp1111 WithColor(Printer, PDB_ColorItem::SectionHeader).get() in dumpPretty()
1187 WithColor(Printer, PDB_ColorItem::SectionHeader).get() in dumpPretty()
1207 WithColor(Printer, PDB_ColorItem::SectionHeader).get() << "---TYPES---"; in dumpPretty()
1216 WithColor(Printer, PDB_ColorItem::SectionHeader).get() << "---SYMBOLS---"; in dumpPretty()
1228 WithColor(Printer, PDB_ColorItem::SectionHeader).get() << "---GLOBALS---"; in dumpPretty()
1277 WithColor(Printer, PDB_ColorItem::SectionHeader).get() << "---EXTERNALS---"; in dumpPretty()
1287 WithColor(Printer, PDB_ColorItem::SectionHeader).get() in dumpPretty()
DLinePrinter.cpp326 case PDB_ColorItem::SectionHeader: in applyColor()
/external/llvm-project/llvm/lib/ObjectYAML/
DELFYAML.cpp858 void MappingTraits<ELFYAML::SectionHeader>::mapping( in mapping()
859 IO &IO, ELFYAML::SectionHeader &SHdr) { in mapping()
864 IO &IO, ELFYAML::SectionHeaderTable &SectionHeader) { in mapping() argument
865 IO.mapOptional("Sections", SectionHeader.Sections); in mapping()
866 IO.mapOptional("Excluded", SectionHeader.Excluded); in mapping()
867 IO.mapOptional("NoHeaders", SectionHeader.NoHeaders); in mapping()
DELFEmitter.cpp1773 auto AddSection = [&](const ELFYAML::SectionHeader &Hdr) { in buildSectionHeaderReorderMap()
1781 for (const ELFYAML::SectionHeader &Hdr : *Doc.SectionHeaders->Sections) in buildSectionHeaderReorderMap()
1785 for (const ELFYAML::SectionHeader &Hdr : *Doc.SectionHeaders->Excluded) in buildSectionHeaderReorderMap()
1816 for (const ELFYAML::SectionHeader &Hdr : *Doc.SectionHeaders->Excluded) in buildSectionIndex()
/external/swiftshader/src/Reactor/
DSubzeroReactor.cpp472 using SectionHeader = std::conditional<sizeof(void *) == 8, Elf64_Shdr, Elf32_Shdr>::type; typedef
474 inline const SectionHeader *sectionHeader(const ElfHeader *elfHeader) in sectionHeader()
476 return reinterpret_cast<const SectionHeader *>((intptr_t)elfHeader + elfHeader->e_shoff); in sectionHeader()
479 inline const SectionHeader *elfSection(const ElfHeader *elfHeader, int index) in elfSection()
484 …Symbol(const ElfHeader *elfHeader, const Elf32_Rel &relocation, const SectionHeader &relocationTab… in relocateSymbol()
486 const SectionHeader *target = elfSection(elfHeader, relocationTable.sh_info); in relocateSymbol()
495 const SectionHeader *symbolTable = elfSection(elfHeader, table); in relocateSymbol()
510 const SectionHeader *target = elfSection(elfHeader, symbol.st_shndx); in relocateSymbol()
569 …ymbol(const ElfHeader *elfHeader, const Elf64_Rela &relocation, const SectionHeader &relocationTab… in relocateSymbol()
571 const SectionHeader *target = elfSection(elfHeader, relocationTable.sh_info); in relocateSymbol()
[all …]