Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/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()
/freebsd/contrib/llvm-project/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()
/freebsd/contrib/llvm-project/lld/MachO/
H A DInputFiles.h192 template <class SectionHeader> void parseSections(ArrayRef<SectionHeader>);
199 template <class SectionHeader>
200 void parseRelocations(ArrayRef<SectionHeader> sectionHeaders,
201 const SectionHeader &, Section &);
H A DInputFiles.cpp340 template <class SectionHeader>
341 void ObjFile::parseSections(ArrayRef<SectionHeader> sectionHeaders) { in parseSections()
345 for (const SectionHeader &sec : sectionHeaders) { in parseSections()
500 template <class SectionHeader>
501 static bool validateRelocationInfo(InputFile *file, const SectionHeader &sec, in validateRelocationInfo()
532 template <class SectionHeader>
533 void ObjFile::parseRelocations(ArrayRef<SectionHeader> sectionHeaders, in parseRelocations()
534 const SectionHeader &sec, Section &section) { in parseRelocations()
593 const SectionHeader &referentSecHead = in parseRelocations()
989 using SectionHeader = typename LP::section; in parse() typedef
[all …]
H A DObjC.cpp30 using SectionHeader = typename LP::section; in objectHasObjCSection() typedef
39 auto sectionHeaders = ArrayRef<SectionHeader>{ in objectHasObjCSection()
40 reinterpret_cast<const SectionHeader *>(c + 1), c->nsects}; in objectHasObjCSection()
41 for (const SectionHeader &secHead : sectionHeaders) { in objectHasObjCSection()
H A DWriter.cpp232 using SectionHeader = typename LP::section; in writeTo() typedef
254 auto *sectHdr = reinterpret_cast<SectionHeader *>(buf); in writeTo()
255 buf += sizeof(SectionHeader); in writeTo()
/freebsd/contrib/llvm-project/llvm/include/llvm/ObjectYAML/
H A DELFYAML.h133 struct SectionHeader { struct
326 std::optional<std::vector<SectionHeader>> Sections;
327 std::optional<std::vector<SectionHeader>> Excluded;
776 LLVM_YAML_IS_SEQUENCE_VECTOR(llvm::ELFYAML::SectionHeader) in LLVM_YAML_IS_SEQUENCE_VECTOR()
912 template <> struct MappingTraits<ELFYAML::SectionHeader> { in LLVM_YAML_IS_SEQUENCE_VECTOR()
913 static void mapping(IO &IO, ELFYAML::SectionHeader &SHdr); in LLVM_YAML_IS_SEQUENCE_VECTOR()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DDebugObjectManagerPlugin.cpp256 using SectionHeader = typename ELFT::Shdr; in CreateArchType() typedef
268 Expected<ArrayRef<SectionHeader>> Sections = ObjRef->sections(); in CreateArchType()
272 for (const SectionHeader &Header : *Sections) { in CreateArchType()
/freebsd/contrib/llvm-project/llvm/tools/llvm-pdbutil/
H A Dllvm-pdbutil.cpp1134 WithColor(Printer, PDB_ColorItem::SectionHeader).get() in dumpPretty()
1210 WithColor(Printer, PDB_ColorItem::SectionHeader).get() in dumpPretty()
1230 WithColor(Printer, PDB_ColorItem::SectionHeader).get() << "---TYPES---"; in dumpPretty()
1239 WithColor(Printer, PDB_ColorItem::SectionHeader).get() << "---SYMBOLS---"; in dumpPretty()
1251 WithColor(Printer, PDB_ColorItem::SectionHeader).get() << "---GLOBALS---"; in dumpPretty()
1300 WithColor(Printer, PDB_ColorItem::SectionHeader).get() << "---EXTERNALS---"; in dumpPretty()
1310 WithColor(Printer, PDB_ColorItem::SectionHeader).get() in dumpPretty()
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/PDB/Native/
H A DLinePrinter.h165 SectionHeader, enumerator
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/
H A DLinePrinter.cpp333 case PDB_ColorItem::SectionHeader: in applyColor()
/freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DELFEmitter.cpp1918 auto AddSection = [&](const ELFYAML::SectionHeader &Hdr) { in buildSectionHeaderReorderMap()
1926 for (const ELFYAML::SectionHeader &Hdr : *SectionHeaders.Sections) in buildSectionHeaderReorderMap()
1930 for (const ELFYAML::SectionHeader &Hdr : *SectionHeaders.Excluded) in buildSectionHeaderReorderMap()
1962 for (const ELFYAML::SectionHeader &Hdr : *SectionHeaders.Excluded) in buildSectionIndex()
H A DELFYAML.cpp1116 void MappingTraits<ELFYAML::SectionHeader>::mapping( in mapping()
1117 IO &IO, ELFYAML::SectionHeader &SHdr) { in mapping()