Home
last modified time | relevance | path

Searched refs:SectionHeader (Results 1 – 18 of 18) 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.cpp22 Writer::SectionHeader Writer::createSectionHeader(const Section &S, in createSectionHeader()
24 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.cpp338 template <class SectionHeader>
339 void ObjFile::parseSections(ArrayRef<SectionHeader> sectionHeaders) { in parseSections()
343 for (const SectionHeader &sec : sectionHeaders) { in parseSections()
498 template <class SectionHeader>
499 static bool validateRelocationInfo(InputFile *file, const SectionHeader &sec, in validateRelocationInfo()
530 template <class SectionHeader>
531 void ObjFile::parseRelocations(ArrayRef<SectionHeader> sectionHeaders, in parseRelocations()
532 const SectionHeader &sec, Section &section) { in parseRelocations()
591 const SectionHeader &referentSecHead = in parseRelocations()
987 using SectionHeader = typename LP::section; in parse() typedef
[all …]
H A DObjC.cpp29 using SectionHeader = typename LP::section; in objectHasObjCSection() typedef
38 auto sectionHeaders = ArrayRef<SectionHeader>{ in objectHasObjCSection()
39 reinterpret_cast<const SectionHeader *>(c + 1), c->nsects}; in objectHasObjCSection()
40 for (const SectionHeader &secHead : sectionHeaders) { in objectHasObjCSection()
H A DWriter.cpp231 using SectionHeader = typename LP::section; in writeTo() typedef
253 auto *sectHdr = reinterpret_cast<SectionHeader *>(buf); in writeTo()
254 buf += sizeof(SectionHeader); in writeTo()
/freebsd/contrib/llvm-project/lldb/source/Plugins/ObjectFile/XCOFF/
H A DObjectFileXCOFF.h112 using SectionHeader = llvm::object::XCOFFSectionHeader32; member
116 using SectionHeader = llvm::object::XCOFFSectionHeader64; member
H A DObjectFileXCOFF.cpp325 for (const typename T::SectionHeader &section : in CreateSectionsWithBitness()
/freebsd/contrib/llvm-project/llvm/include/llvm/ObjectYAML/
H A DELFYAML.h133 struct SectionHeader { struct
341 std::optional<std::vector<SectionHeader>> Sections;
342 std::optional<std::vector<SectionHeader>> Excluded;
792 LLVM_YAML_IS_SEQUENCE_VECTOR(llvm::ELFYAML::SectionHeader) in LLVM_YAML_IS_SEQUENCE_VECTOR()
928 template <> struct MappingTraits<ELFYAML::SectionHeader> { in LLVM_YAML_IS_SEQUENCE_VECTOR()
929 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.cpp254 using SectionHeader = typename ELFT::Shdr; in CreateArchType() typedef
266 Expected<ArrayRef<SectionHeader>> Sections = ObjRef->sections(); in CreateArchType()
270 for (const SectionHeader &Header : *Sections) { in CreateArchType()
/freebsd/contrib/llvm-project/llvm/tools/llvm-pdbutil/
H A Dllvm-pdbutil.cpp1140 WithColor(Printer, PDB_ColorItem::SectionHeader).get() in dumpPretty()
1216 WithColor(Printer, PDB_ColorItem::SectionHeader).get() in dumpPretty()
1236 WithColor(Printer, PDB_ColorItem::SectionHeader).get() << "---TYPES---"; in dumpPretty()
1245 WithColor(Printer, PDB_ColorItem::SectionHeader).get() << "---SYMBOLS---"; in dumpPretty()
1257 WithColor(Printer, PDB_ColorItem::SectionHeader).get() << "---GLOBALS---"; in dumpPretty()
1306 WithColor(Printer, PDB_ColorItem::SectionHeader).get() << "---EXTERNALS---"; in dumpPretty()
1316 WithColor(Printer, PDB_ColorItem::SectionHeader).get() in dumpPretty()
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/PDB/Native/
H A DLinePrinter.h167 SectionHeader, enumerator
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/
H A DLinePrinter.cpp332 case PDB_ColorItem::SectionHeader: in applyColor()
/freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DELFEmitter.cpp1945 auto AddSection = [&](const ELFYAML::SectionHeader &Hdr) { in buildSectionHeaderReorderMap()
1953 for (const ELFYAML::SectionHeader &Hdr : *SectionHeaders.Sections) in buildSectionHeaderReorderMap()
1957 for (const ELFYAML::SectionHeader &Hdr : *SectionHeaders.Excluded) in buildSectionHeaderReorderMap()
1989 for (const ELFYAML::SectionHeader &Hdr : *SectionHeaders.Excluded) in buildSectionIndex()
H A DELFYAML.cpp1148 void MappingTraits<ELFYAML::SectionHeader>::mapping( in mapping()
1149 IO &IO, ELFYAML::SectionHeader &SHdr) { in mapping()