| /openbsd-src/gnu/llvm/lld/MachO/ |
| H A D | ObjC.cpp | 25 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 D | InputFiles.h | 185 template <class SectionHeader> void parseSections(ArrayRef<SectionHeader>); 192 template <class SectionHeader> 193 void parseRelocations(ArrayRef<SectionHeader> sectionHeaders, 194 const SectionHeader &, Section &);
|
| H A D | InputFiles.cpp | 318 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 §ion) { in parseRelocations() 571 const SectionHeader &referentSecHead = in parseRelocations() 967 using SectionHeader = typename LP::section; in parse() typedef [all …]
|
| H A D | Writer.cpp | 233 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 D | WasmWriter.h | 26 using SectionHeader = SmallVector<char, 8>; 29 std::vector<SectionHeader> SectionHeaders; 40 static SectionHeader createSectionHeader(const Section &S,
|
| H A D | WasmWriter.cpp | 23 Writer::SectionHeader Writer::createSectionHeader(const Section &S, in createSectionHeader() 25 SectionHeader Header; in createSectionHeader()
|
| /openbsd-src/gnu/llvm/llvm/lib/ObjCopy/XCOFF/ |
| H A D | XCOFFWriter.cpp | 33 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 D | XCOFFObject.h | 24 XCOFFSectionHeader32 SectionHeader; member
|
| H A D | XCOFFReader.cpp | 22 ReadSec.SectionHeader = Sec; in readSections()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/ObjectYAML/ |
| H A D | ELFYAML.h | 133 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 D | DebugObjectManagerPlugin.cpp | 262 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 D | LinePrinter.h | 165 SectionHeader, enumerator
|
| /openbsd-src/gnu/llvm/llvm/tools/llvm-pdbutil/ |
| H A D | llvm-pdbutil.cpp | 1136 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 D | LinePrinter.cpp | 333 case PDB_ColorItem::SectionHeader: in applyColor()
|
| /openbsd-src/gnu/llvm/llvm/lib/ObjectYAML/ |
| H A D | ELFEmitter.cpp | 1798 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 D | ELFYAML.cpp | 1082 void MappingTraits<ELFYAML::SectionHeader>::mapping( in mapping() 1083 IO &IO, ELFYAML::SectionHeader &SHdr) { in mapping()
|