Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/lld/MachO/
H A DObjC.cpp25 using SectionHeader = typename LP::section; in objectHasObjCSection() typedef
34 auto sectionHeaders = ArrayRef<SectionHeader>{ in objectHasObjCSection()
35 reinterpret_cast<const SectionHeader *>(c + 1), c->nsects}; in objectHasObjCSection()
36 for (const SectionHeader &secHead : sectionHeaders) { in objectHasObjCSection()
H A DInputFiles.h185 template <class SectionHeader> void parseSections(ArrayRef<SectionHeader>);
192 template <class SectionHeader>
193 void parseRelocations(ArrayRef<SectionHeader> sectionHeaders,
194 const SectionHeader &, Section &);
H A DInputFiles.cpp318 template <class SectionHeader>
319 void ObjFile::parseSections(ArrayRef<SectionHeader> sectionHeaders) { in parseSections()
323 for (const SectionHeader &sec : sectionHeaders) { in parseSections()
478 template <class SectionHeader>
479 static bool validateRelocationInfo(InputFile *file, const SectionHeader &sec, in validateRelocationInfo()
510 template <class SectionHeader>
511 void ObjFile::parseRelocations(ArrayRef<SectionHeader> sectionHeaders, in parseRelocations()
512 const SectionHeader &sec, Section &section) { in parseRelocations()
571 const SectionHeader &referentSecHead = in parseRelocations()
967 using SectionHeader = typename LP::section; in parse() typedef
[all …]
H A DWriter.cpp233 using SectionHeader = typename LP::section; in writeTo() typedef
255 auto *sectHdr = reinterpret_cast<SectionHeader *>(buf); in writeTo()
256 buf += sizeof(SectionHeader); in writeTo()
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/llvm/include/llvm/ObjectYAML/
H A DELFYAML.h133 struct SectionHeader { struct
301 std::optional<std::vector<SectionHeader>> Sections;
302 std::optional<std::vector<SectionHeader>> Excluded;
745 LLVM_YAML_IS_SEQUENCE_VECTOR(llvm::ELFYAML::SectionHeader) in LLVM_YAML_IS_SEQUENCE_VECTOR()
881 template <> struct MappingTraits<ELFYAML::SectionHeader> { in LLVM_YAML_IS_SEQUENCE_VECTOR()
882 static void mapping(IO &IO, ELFYAML::SectionHeader &SHdr); in LLVM_YAML_IS_SEQUENCE_VECTOR()
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/llvm/include/llvm/DebugInfo/PDB/Native/
H A DLinePrinter.h165 SectionHeader, enumerator
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/llvm/lib/DebugInfo/PDB/Native/
H A DLinePrinter.cpp333 case PDB_ColorItem::SectionHeader: in applyColor()
/openbsd-src/gnu/llvm/llvm/lib/ObjectYAML/
H A DELFEmitter.cpp1798 auto AddSection = [&](const ELFYAML::SectionHeader &Hdr) { in buildSectionHeaderReorderMap()
1806 for (const ELFYAML::SectionHeader &Hdr : *SectionHeaders.Sections) in buildSectionHeaderReorderMap()
1810 for (const ELFYAML::SectionHeader &Hdr : *SectionHeaders.Excluded) in buildSectionHeaderReorderMap()
1842 for (const ELFYAML::SectionHeader &Hdr : *SectionHeaders.Excluded) in buildSectionIndex()
H A DELFYAML.cpp1082 void MappingTraits<ELFYAML::SectionHeader>::mapping( in mapping()
1083 IO &IO, ELFYAML::SectionHeader &SHdr) { in mapping()