Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/ObjectYAML/
H A DELFYAML.cpp1451 ELFYAML::SectionHeaderTable &SHT) { in sectionHeaderTableMapping() argument
1452 IO.mapOptional("Offset", SHT.Offset); in sectionHeaderTableMapping()
1453 IO.mapOptional("Sections", SHT.Sections); in sectionHeaderTableMapping()
1454 IO.mapOptional("Excluded", SHT.Excluded); in sectionHeaderTableMapping()
1455 IO.mapOptional("NoHeaders", SHT.NoHeaders); in sectionHeaderTableMapping()
1526 else if (auto *SHT = dyn_cast<ELFYAML::SectionHeaderTable>(Section.get())) in mapping() local
1527 TypeStr = SHT->TypeStr; in mapping()
1685 if (const auto *SHT = dyn_cast<ELFYAML::SectionHeaderTable>(C.get())) { in validate() local
1686 if (SHT->NoHeaders && (SHT->Sections || SHT->Excluded || SHT->Offset)) in validate()
H A DELFEmitter.cpp1971 const ELFYAML::SectionHeaderTable &SHT = Doc.getSectionHeaderTable(); in writeELF() local
1972 if (!SHT.NoHeaders.value_or(false)) in writeELF()
1973 CBA.updateDataAt(*SHT.Offset, SHeaders.data(), in writeELF()
1974 SHT.getNumHeaders(SHeaders.size()) * sizeof(Elf_Shdr)); in writeELF()
/llvm-project-15.0.7/llvm/include/llvm/Object/
H A DELFObjectFile.h339 uintptr_t SHT = reinterpret_cast<uintptr_t>((*SectionsOrErr).begin()); in toDRI() local
341 (reinterpret_cast<uintptr_t>(SymTable) - SHT) / sizeof(Elf_Shdr); in toDRI()
966 uintptr_t SHT = reinterpret_cast<uintptr_t>((*SectionsOrErr).begin()); in section_rel_begin() local
967 RelData.d.a = (Sec.p - SHT) / EF.getHeader().e_shentsize; in section_rel_begin()
/llvm-project-15.0.7/llvm/tools/obj2yaml/
H A Delf2yaml.cpp395 std::unique_ptr<ELFYAML::SectionHeaderTable> SHT = in dump() local
397 SHT->Sections.emplace(); in dump()
399 SHT->Sections->push_back({S->Name}); in dump()
400 Chunks.push_back(std::move(SHT)); in dump()