/openbsd-src/gnu/llvm/llvm/include/llvm/ObjectYAML/ |
H A D | COFFYAML.h | 69 struct Section { struct 72 yaml::BinaryRef SectionData; argument 76 std::optional<CodeViewYAML::DebugHSection> DebugH; argument 80 Section(); argument
|
H A D | MachOYAML.h | 45 struct Section { struct 46 char sectname[16]; 47 char segname[16]; 48 llvm::yaml::Hex64 addr; 49 uint64_t size; 50 llvm::yaml::Hex32 offset; 51 uint32_t align; 52 llvm::yaml::Hex32 reloff; 53 uint32_t nreloc; 77 std::vector<Section> Sections; argument
|
H A D | XCOFFYAML.h | 72 struct Section { struct 73 StringRef SectionName; argument 82 yaml::BinaryRef SectionData; argument 83 std::vector<Relocation> Relocations;
|
H A D | ELFYAML.h | 140 std::optional<StringRef> Section; member 226 struct Section : public Chunk { struct 240 Section(ChunkKind Kind, bool IsImplicit = false) : Chunk(Kind, IsImplicit) {} in Chunk() argument 242 static bool classof(const Chunk *S) { in classof() 249 virtual std::vector<std::pair<StringRef, bool>> getEntries() const { in getEntries() 257 std::optional<llvm::yaml::Hex64> ShAddrAlign; 261 std::optional<llvm::yaml::Hex64> ShName; 265 std::optional<llvm::yaml::Hex64> ShOffset; 269 std::optional<llvm::yaml::Hex64> ShSize; 293 struct SectionHeaderTable : Chunk { argument
|
/openbsd-src/gnu/llvm/llvm/lib/ObjCopy/MachO/ |
H A D | MachOObject.h | 38 struct Section { struct 59 Section(StringRef SegName, StringRef SectName); argument 63 MachO::SectionType getType() const { in getType() argument 67 bool isVirtualSection() const { in isVirtualSection() argument 91 // Section describes only sections' metadata and where to find the argument
|
/openbsd-src/gnu/llvm/llvm/lib/ObjectYAML/ |
H A D | WasmYAML.cpp | 45 static void commonSectionMapping(IO &IO, WasmYAML::Section &Section) { in commonSectionMapping() 50 static void sectionMapping(IO &IO, WasmYAML::DylinkSection &Section) { in sectionMapping() 62 static void sectionMapping(IO &IO, WasmYAML::NameSection &Section) { in sectionMapping() 70 static void sectionMapping(IO &IO, WasmYAML::LinkingSection &Section) { in sectionMapping() 80 static void sectionMapping(IO &IO, WasmYAML::ProducersSection &Section) { in sectionMapping() 88 static void sectionMapping(IO &IO, WasmYAML::TargetFeaturesSection &Section) { in sectionMapping() 94 static void sectionMapping(IO &IO, WasmYAML::CustomSection &Section) { in sectionMapping() 100 static void sectionMapping(IO &IO, WasmYAML::TypeSection &Section) { in sectionMapping() 105 static void sectionMapping(IO &IO, WasmYAML::ImportSection &Section) { in sectionMapping() 110 static void sectionMapping(IO &IO, WasmYAML::FunctionSection &Section) { in sectionMapping() [all …]
|
H A D | WasmEmitter.cpp | 163 WasmYAML::DylinkSection &Section) { in writeSectionContent() 186 WasmYAML::LinkingSection &Section) { in writeSectionContent() 271 WasmYAML::NameSection &Section) { in writeSectionContent() 315 WasmYAML::ProducersSection &Section) { in writeSectionContent() 337 WasmYAML::TargetFeaturesSection &Section) { in writeSectionContent() 347 WasmYAML::CustomSection &Section) { in writeSectionContent() 365 WasmYAML::TypeSection &Section) { in writeSectionContent() 385 WasmYAML::ImportSection &Section) { in writeSectionContent() 422 WasmYAML::FunctionSection &Section) { in writeSectionContent() 429 WasmYAML::ExportSection &Section) { in writeSectionContent() [all …]
|
H A D | ELFYAML.cpp | 1325 static void commonSectionMapping(IO &IO, ELFYAML::Section &Section) { in commonSectionMapping() 1352 static void sectionMapping(IO &IO, ELFYAML::DynamicSection &Section) { in sectionMapping() 1357 static void sectionMapping(IO &IO, ELFYAML::RawContentSection &Section) { in sectionMapping() 1373 static void sectionMapping(IO &IO, ELFYAML::BBAddrMapSection &Section) { in sectionMapping() 1379 static void sectionMapping(IO &IO, ELFYAML::StackSizesSection &Section) { in sectionMapping() 1384 static void sectionMapping(IO &IO, ELFYAML::HashSection &Section) { in sectionMapping() 1396 static void sectionMapping(IO &IO, ELFYAML::NoteSection &Section) { in sectionMapping() 1402 static void sectionMapping(IO &IO, ELFYAML::GnuHashSection &Section) { in sectionMapping() 1409 static void sectionMapping(IO &IO, ELFYAML::NoBitsSection &Section) { in sectionMapping() 1413 static void sectionMapping(IO &IO, ELFYAML::VerdefSection &Section) { in sectionMapping() [all …]
|
H A D | ELFEmitter.cpp | 1254 Elf_Shdr &SHeader, const ELFYAML::RawContentSection &Section, in writeSectionContent() 1268 Elf_Shdr &SHeader, const ELFYAML::RelocationSection &Section, in writeSectionContent() 1307 const ELFYAML::RelrSection &Section, in writeSectionContent() 1341 const ELFYAML::GroupSection &Section, in writeSectionContent() 1366 const ELFYAML::SymverSection &Section, in writeSectionContent() 1378 Elf_Shdr &SHeader, const ELFYAML::StackSizesSection &Section, in writeSectionContent() 1391 Elf_Shdr &SHeader, const ELFYAML::BBAddrMapSection &Section, in writeSectionContent() 1429 Elf_Shdr &SHeader, const ELFYAML::LinkerOptionsSection &Section, in writeSectionContent() 1445 Elf_Shdr &SHeader, const ELFYAML::DependentLibrariesSection &Section, in writeSectionContent() 1483 Elf_Shdr &SHeader, const ELFYAML::CallGraphProfileSection &Section, in writeSectionContent() [all …]
|
/openbsd-src/gnu/llvm/llvm/lib/DebugInfo/CodeView/ |
H A D | DebugSubsectionVisitor.cpp | 55 DebugCrossModuleExportsSubsectionRef Section; in visitDebugSubsection() local 61 DebugCrossModuleImportsSubsectionRef Section; in visitDebugSubsection() local 67 DebugSymbolsSubsectionRef Section; in visitDebugSubsection() local 73 DebugStringTableSubsectionRef Section; in visitDebugSubsection() local 79 DebugFrameDataSubsectionRef Section; in visitDebugSubsection() local 85 DebugSymbolRVASubsectionRef Section; in visitDebugSubsection() local
|
/openbsd-src/gnu/llvm/llvm/include/llvm/Support/ |
H A D | SpecialCaseList.h | 137 struct Section { struct 138 Section(std::unique_ptr<Matcher> M) : SectionMatcher(std::move(M)){}; in Section() function 140 std::unique_ptr<Matcher> SectionMatcher; argument 141 SectionEntries Entries; argument
|
/openbsd-src/gnu/llvm/llvm/lib/ObjCopy/COFF/ |
H A D | COFFObject.h | 35 struct Section { struct 36 object::coff_section Header; 37 std::vector<Relocation> Relocs; 38 StringRef Name; 39 ssize_t UniqueId; 40 size_t Index; 42 ArrayRef<uint8_t> getContents() const { in getContents() 48 void setContentsRef(ArrayRef<uint8_t> Data) { in setContentsRef() 53 void setOwnedContents(std::vector<uint8_t> &&Data) { in setOwnedContents() 59 void clearContents() { in clearContents() [all …]
|
/openbsd-src/gnu/llvm/llvm/lib/MC/ |
H A D | ConstantPools.cpp | 79 ConstantPool *AssemblerConstantPools::getConstantPool(MCSection *Section) { in getConstantPool() 88 AssemblerConstantPools::getOrCreateConstantPool(MCSection *Section) { in getOrCreateConstantPool() 92 static void emitConstantPool(MCStreamer &Streamer, MCSection *Section, in emitConstantPool() 103 MCSection *Section = CPI.first; in emitAll() local 111 MCSection *Section = Streamer.getCurrentSectionOnly(); in emitForCurrentSection() local 117 MCSection *Section = Streamer.getCurrentSectionOnly(); in clearCacheForCurrentSection() local 125 MCSection *Section = Streamer.getCurrentSectionOnly(); in addEntry() local
|
H A D | WasmObjectWriter.cpp | 63 MCSectionWasm *Section; member 75 MCSection *Section; member 124 MCSectionWasm *Section; member 369 void WasmObjectWriter::startSection(SectionBookkeeping &Section, in startSection() 408 void WasmObjectWriter::startCustomSection(SectionBookkeeping &Section, in startCustomSection() 430 void WasmObjectWriter::endSection(SectionBookkeeping &Section) { in endSection() 686 const auto &Section = in getProvisionalValue() local 829 SectionBookkeeping Section; in writeTypeSection() local 855 SectionBookkeeping Section; in writeImportSection() local 897 SectionBookkeeping Section; in writeFunctionSection() local [all …]
|
H A D | WinCOFFObjectWriter.cpp | 85 COFFSection *Section = nullptr; member in __anona3bc21060111::COFFSymbol 307 COFFSection *Section = createSection(MCSec.getName()); in defineSection() local 550 for (auto &Section : Sections) in writeSectionHeaders() local 556 for (auto &Section : Arr) { in writeSectionHeaders() local 671 for (const auto &Section : Asm) in executePostLayoutBinding() local 758 COFFSection *Section = SectionMap[TargetSection]; in recordRelocation() local 926 static bool isAssociative(const COFFSection &Section) { in isAssociative() 933 auto Assign = [&](COFFSection &Section) { in assignSectionNumbers() 943 for (const std::unique_ptr<COFFSection> &Section : Sections) in assignSectionNumbers() local 946 for (const std::unique_ptr<COFFSection> &Section : Sections) in assignSectionNumbers() local [all …]
|
H A D | MCWasmStreamer.cpp | 59 const MCSectionWasm &Section = in emitLabel() local 70 const MCSectionWasm &Section = in emitLabelAtPos() local 84 void MCWasmStreamer::changeSection(MCSection *Section, in changeSection() 265 void MCWasmStreamer::emitZerofill(MCSection *Section, MCSymbol *Symbol, in emitZerofill() 271 void MCWasmStreamer::emitTBSSSymbol(MCSection *Section, MCSymbol *Symbol, in emitTBSSSymbol()
|
H A D | MCContext.cpp | 435 MCSectionMachO *MCContext::getMachOSection(StringRef Segment, StringRef Section, in getMachOSection() 465 MCSectionELF *MCContext::createELFSectionImpl(StringRef Section, unsigned Type, in createELFSectionImpl() 523 MCSectionELF *MCContext::getELFSection(const Twine &Section, unsigned Type, in getELFSection() 536 MCSectionELF *MCContext::getELFSection(const Twine &Section, unsigned Type, in getELFSection() 648 MCSectionGOFF *MCContext::getGOFFSection(StringRef Section, SectionKind Kind, in getGOFFSection() 660 MCSectionCOFF *MCContext::getCOFFSection(StringRef Section, in getCOFFSection() 692 MCSectionCOFF *MCContext::getCOFFSection(StringRef Section, in getCOFFSection() 721 MCSectionWasm *MCContext::getWasmSection(const Twine &Section, SectionKind K, in getWasmSection() 734 MCSectionWasm *MCContext::getWasmSection(const Twine &Section, SectionKind Kind, in getWasmSection() 767 bool MCContext::hasXCOFFSection(StringRef Section, in hasXCOFFSection() [all …]
|
/openbsd-src/gnu/llvm/llvm/lib/ObjCopy/wasm/ |
H A D | WasmObject.h | 22 struct Section { struct 25 uint8_t SectionType; argument 33 std::vector<Section> Sections; argument
|
/openbsd-src/gnu/llvm/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/ |
H A D | RuntimeDyldELFMips.cpp | 16 const SectionEntry &Section = Sections[RE.SectionID]; in resolveRelocation() local 33 const SectionEntry &Section = Sections[RE.SectionID]; in evaluateRelocation() local 44 const SectionEntry &Section = Sections[RE.SectionID]; in applyRelocation() local 53 RuntimeDyldELFMips::evaluateMIPS32Relocation(const SectionEntry &Section, in evaluateMIPS32Relocation() 109 const SectionEntry &Section, uint64_t Offset, uint64_t Value, uint32_t Type, in evaluateMIPS64Relocation() 266 const SectionEntry &Section, uint64_t Offset, uint64_t Value, uint32_t Type, in resolveMIPSN32Relocation() 275 const SectionEntry &Section, uint64_t Offset, uint64_t Value, uint32_t Type, in resolveMIPSN64Relocation() 303 void RuntimeDyldELFMips::resolveMIPSO32Relocation(const SectionEntry &Section, in resolveMIPSO32Relocation()
|
H A D | RuntimeDyldCOFFX86_64.h | 38 for (const SectionEntry &Section : Sections) in getImageBase() local 88 const SectionEntry &Section = Sections[RE.SectionID]; in resolveRelocation() local 148 SectionEntry &Section = Sections[SectionID]; in generateRelocationStub() local 211 SectionEntry &Section = Sections[SectionID]; in processRelocationRef() local 296 const object::SectionRef &Section = SectionPair.first; in finalizeLoad() local
|
H A D | RuntimeDyldMachOARM.h | 63 const SectionEntry &Section = Sections[RE.SectionID]; in decodeAddend() local 204 const SectionEntry &Section = Sections[RE.SectionID]; in resolveRelocation() local 289 const SectionRef &Section) { in finalizeSection() 309 SectionEntry &Section = Sections[RE.SectionID]; in processBranchRelocation() local 359 SectionEntry &Section = Sections[SectionID]; in processHALFSECTDIFFRelocation() local
|
/openbsd-src/gnu/llvm/llvm/lib/ObjCopy/XCOFF/ |
H A D | XCOFFObject.h | 23 struct Section { struct 24 XCOFFSectionHeader32 SectionHeader; argument 39 std::vector<Section> Sections; argument
|
/openbsd-src/gnu/llvm/llvm/tools/llvm-readobj/ |
H A D | Win64EHDumper.cpp | 160 const coff_section *Section, uint64_t Offset, in formatSymbol() 206 const coff_section *Section, in resolveRelocation() 229 for (const auto &Section : COFF.sections()) { in getSectionContaining() local 242 const coff_section *Section, in printRuntimeFunctionEntry() 314 void Dumper::printUnwindInfo(const Context &Ctx, const coff_section *Section, in printUnwindInfo() 359 const coff_section *Section, in printRuntimeFunction() 393 for (const auto &Section : Ctx.COFF.sections()) { in printData() local
|
/openbsd-src/gnu/llvm/clang/lib/Basic/ |
H A D | ProfileList.cpp | 90 StringRef Section = getSectionName(Kind); in getDefault() local 105 ProfileList::inSection(StringRef Section, StringRef Prefix, in inSection() 121 StringRef Section = getSectionName(Kind); in isFunctionExcluded() local 141 StringRef Section = getSectionName(Kind); in isFileExcluded() local
|
/openbsd-src/gnu/llvm/llvm/lib/ExecutionEngine/RuntimeDyld/ |
H A D | RuntimeDyldELF.cpp | 259 void RuntimeDyldELF::resolveX86_64Relocation(const SectionEntry &Section, in resolveX86_64Relocation() 337 for (const auto &Section : Sections) { in resolveX86_64Relocation() local 377 void RuntimeDyldELF::resolveX86Relocation(const SectionEntry &Section, in resolveX86Relocation() 405 void RuntimeDyldELF::resolveAArch64Relocation(const SectionEntry &Section, in resolveAArch64Relocation() 587 void RuntimeDyldELF::resolveARMRelocation(const SectionEntry &Section, in resolveARMRelocation() 674 for (auto &Section : Obj.sections()) { in findPPC64TOCSection() local 811 void RuntimeDyldELF::resolvePPC32Relocation(const SectionEntry &Section, in resolvePPC32Relocation() 831 void RuntimeDyldELF::resolvePPC64Relocation(const SectionEntry &Section, in resolvePPC64Relocation() 925 void RuntimeDyldELF::resolveSystemZRelocation(const SectionEntry &Section, in resolveSystemZRelocation() 979 void RuntimeDyldELF::resolveBPFRelocation(const SectionEntry &Section, in resolveBPFRelocation() [all …]
|