Home
last modified time | relevance | path

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

/llvm-project-15.0.7/lld/MachO/
H A DObjC.cpp24 using SectionHeader = typename LP::section; in objectHasObjCSection() typedef
33 auto sectionHeaders = ArrayRef<SectionHeader>{ in objectHasObjCSection()
34 reinterpret_cast<const SectionHeader *>(c + 1), c->nsects}; in objectHasObjCSection()
35 for (const SectionHeader &secHead : sectionHeaders) { in objectHasObjCSection()
H A DInputFiles.h183 template <class SectionHeader> void parseSections(ArrayRef<SectionHeader>);
190 template <class SectionHeader>
191 void parseRelocations(ArrayRef<SectionHeader> sectionHeaders,
192 const SectionHeader &, Section &);
H A DInputFiles.cpp300 template <class SectionHeader>
301 void ObjFile::parseSections(ArrayRef<SectionHeader> sectionHeaders) { in parseSections()
305 for (const SectionHeader &sec : sectionHeaders) { in parseSections()
609 template <class SectionHeader>
641 template <class SectionHeader>
642 void ObjFile::parseRelocations(ArrayRef<SectionHeader> sectionHeaders, in parseRelocations()
703 const SectionHeader &referentSecHead = in parseRelocations()
1064 using SectionHeader = typename LP::section; in parse() typedef
1090 ArrayRef<SectionHeader> sectionHeaders; in parse()
1093 sectionHeaders = ArrayRef<SectionHeader>{ in parse()
[all …]
H A DWriter.cpp233 using SectionHeader = typename LP::section; in writeTo() typedef
254 auto *sectHdr = reinterpret_cast<SectionHeader *>(buf); in writeTo()
255 buf += sizeof(SectionHeader); in writeTo()
/llvm-project-15.0.7/llvm/lib/ObjCopy/wasm/
H A DWasmWriter.h26 using SectionHeader = SmallVector<char, 8>;
29 std::vector<SectionHeader> SectionHeaders;
40 static SectionHeader createSectionHeader(const Section &S,
H A DWasmWriter.cpp23 Writer::SectionHeader Writer::createSectionHeader(const Section &S, in createSectionHeader()
25 SectionHeader Header; in createSectionHeader()
/llvm-project-15.0.7/llvm/lib/ObjCopy/XCOFF/
H A DXCOFFWriter.cpp33 Sec.SectionHeader.NumberOfRelocations * sizeof(XCOFFRelocation32); in finalizeSections()
68 memcpy(Ptr, &Sec.SectionHeader, sizeof(XCOFFSectionHeader32)); in writeHeaders()
77 Sec.SectionHeader.FileOffsetToRawData; in writeSections()
84 Sec.SectionHeader.FileOffsetToRelocationInfo; in writeSections()
H A DXCOFFObject.h24 XCOFFSectionHeader32 SectionHeader; member
H A DXCOFFReader.cpp22 ReadSec.SectionHeader = Sec; in readSections()
/llvm-project-15.0.7/llvm/include/llvm/ObjectYAML/
H A DELFYAML.h132 struct SectionHeader { struct
299 Optional<std::vector<SectionHeader>> Sections;
300 Optional<std::vector<SectionHeader>> Excluded;
743 LLVM_YAML_IS_SEQUENCE_VECTOR(llvm::ELFYAML::SectionHeader) in LLVM_YAML_IS_SEQUENCE_VECTOR()
879 template <> struct MappingTraits<ELFYAML::SectionHeader> { in LLVM_YAML_IS_SEQUENCE_VECTOR()
880 static void mapping(IO &IO, ELFYAML::SectionHeader &SHdr); in LLVM_YAML_IS_SEQUENCE_VECTOR()
/llvm-project-15.0.7/llvm/lib/ExecutionEngine/Orc/
H A DDebugObjectManagerPlugin.cpp262 using SectionHeader = typename ELFT::Shdr; in CreateArchType() typedef
279 Expected<ArrayRef<SectionHeader>> Sections = ObjRef->sections(); in CreateArchType()
284 for (const SectionHeader &Header : *Sections) { in CreateArchType()
/llvm-project-15.0.7/llvm/include/llvm/DebugInfo/PDB/Native/
H A DLinePrinter.h165 SectionHeader, enumerator
/llvm-project-15.0.7/llvm/tools/llvm-pdbutil/
H A Dllvm-pdbutil.cpp1136 WithColor(Printer, PDB_ColorItem::SectionHeader).get() in dumpPretty()
1212 WithColor(Printer, PDB_ColorItem::SectionHeader).get() in dumpPretty()
1232 WithColor(Printer, PDB_ColorItem::SectionHeader).get() << "---TYPES---"; in dumpPretty()
1241 WithColor(Printer, PDB_ColorItem::SectionHeader).get() << "---SYMBOLS---"; in dumpPretty()
1253 WithColor(Printer, PDB_ColorItem::SectionHeader).get() << "---GLOBALS---"; in dumpPretty()
1302 WithColor(Printer, PDB_ColorItem::SectionHeader).get() << "---EXTERNALS---"; in dumpPretty()
1312 WithColor(Printer, PDB_ColorItem::SectionHeader).get() in dumpPretty()
/llvm-project-15.0.7/llvm/lib/DebugInfo/PDB/Native/
H A DLinePrinter.cpp333 case PDB_ColorItem::SectionHeader: in applyColor()
/llvm-project-15.0.7/llvm/lib/ObjectYAML/
H A DELFEmitter.cpp1794 auto AddSection = [&](const ELFYAML::SectionHeader &Hdr) { in buildSectionHeaderReorderMap()
1802 for (const ELFYAML::SectionHeader &Hdr : *SectionHeaders.Sections) in buildSectionHeaderReorderMap()
1806 for (const ELFYAML::SectionHeader &Hdr : *SectionHeaders.Excluded) in buildSectionHeaderReorderMap()
1838 for (const ELFYAML::SectionHeader &Hdr : *SectionHeaders.Excluded) in buildSectionIndex()
H A DELFYAML.cpp1068 void MappingTraits<ELFYAML::SectionHeader>::mapping( in mapping()
1069 IO &IO, ELFYAML::SectionHeader &SHdr) { in mapping()