| /openbsd-src/gnu/llvm/llvm/lib/Target/NVPTX/MCTargetDesc/ |
| H A D | NVPTXTargetStreamer.cpp | 46 const MCSection *Section) { in isDwarfSection() argument 49 if (!Section || Section->getKind().isText() || in isDwarfSection() 50 Section->getKind().isWriteable()) in isDwarfSection() 52 return Section == FI->getDwarfAbbrevSection() || in isDwarfSection() 53 Section == FI->getDwarfInfoSection() || in isDwarfSection() 54 Section == FI->getDwarfMacinfoSection() || in isDwarfSection() 55 Section == FI->getDwarfFrameSection() || in isDwarfSection() 56 Section == FI->getDwarfAddrSection() || in isDwarfSection() 57 Section == FI->getDwarfRangesSection() || in isDwarfSection() 58 Section == FI->getDwarfARangesSection() || in isDwarfSection() [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/ObjectYAML/ |
| H A D | WasmYAML.cpp | 25 Section::~Section() = default; 45 static void commonSectionMapping(IO &IO, WasmYAML::Section &Section) { in commonSectionMapping() argument 46 IO.mapRequired("Type", Section.Type); in commonSectionMapping() 47 IO.mapOptional("Relocations", Section.Relocations); in commonSectionMapping() 50 static void sectionMapping(IO &IO, WasmYAML::DylinkSection &Section) { in sectionMapping() argument 51 commonSectionMapping(IO, Section); in sectionMapping() 52 IO.mapRequired("Name", Section.Name); in sectionMapping() 53 IO.mapRequired("MemorySize", Section.MemorySize); in sectionMapping() 54 IO.mapRequired("MemoryAlignment", Section.MemoryAlignment); in sectionMapping() 55 IO.mapRequired("TableSize", Section.TableSize); in sectionMapping() [all …]
|
| H A D | WasmEmitter.cpp | 33 void writeRelocSection(raw_ostream &OS, WasmYAML::Section &Sec, 38 void writeSectionContent(raw_ostream &OS, WasmYAML::CustomSection &Section); 39 void writeSectionContent(raw_ostream &OS, WasmYAML::TypeSection &Section); 40 void writeSectionContent(raw_ostream &OS, WasmYAML::ImportSection &Section); 41 void writeSectionContent(raw_ostream &OS, WasmYAML::FunctionSection &Section); 42 void writeSectionContent(raw_ostream &OS, WasmYAML::TableSection &Section); 43 void writeSectionContent(raw_ostream &OS, WasmYAML::MemorySection &Section); 44 void writeSectionContent(raw_ostream &OS, WasmYAML::TagSection &Section); 45 void writeSectionContent(raw_ostream &OS, WasmYAML::GlobalSection &Section); 46 void writeSectionContent(raw_ostream &OS, WasmYAML::ExportSection &Section); [all …]
|
| H A D | ELFYAML.cpp | 1302 IO.mapOptional("Section", Symbol.Section); in mapping() 1320 if (Symbol.Index && Symbol.Section) in validate() 1325 static void commonSectionMapping(IO &IO, ELFYAML::Section &Section) { in commonSectionMapping() argument 1326 IO.mapOptional("Name", Section.Name, StringRef()); in commonSectionMapping() 1327 IO.mapRequired("Type", Section.Type); in commonSectionMapping() 1328 IO.mapOptional("Flags", Section.Flags); in commonSectionMapping() 1329 IO.mapOptional("Address", Section.Address); in commonSectionMapping() 1330 IO.mapOptional("Link", Section.Link); in commonSectionMapping() 1331 IO.mapOptional("AddressAlign", Section.AddressAlign, Hex64(0)); in commonSectionMapping() 1332 IO.mapOptional("EntSize", Section.EntSize); in commonSectionMapping() [all …]
|
| H A D | ELFEmitter.cpp | 222 StringRef SecName, ELFYAML::Section *YAMLSec); 227 ELFYAML::Section *YAMLSec); 231 ELFYAML::Section *YAMLSec); 234 ELFYAML::Section *YAMLSec); 245 const ELFYAML::NoBitsSection &Section, 248 const ELFYAML::RawContentSection &Section, 251 const ELFYAML::RelocationSection &Section, 254 const ELFYAML::RelrSection &Section, 263 const ELFYAML::SymverSection &Section, 266 const ELFYAML::VerneedSection &Section, [all …]
|
| H A D | MachOYAML.cpp | 329 void MappingTraits<MachOYAML::Section>::mapping(IO &IO, in mapping() 330 MachOYAML::Section &Section) { in mapping() argument 331 IO.mapRequired("sectname", Section.sectname); in mapping() 332 IO.mapRequired("segname", Section.segname); in mapping() 333 IO.mapRequired("addr", Section.addr); in mapping() 334 IO.mapRequired("size", Section.size); in mapping() 335 IO.mapRequired("offset", Section.offset); in mapping() 336 IO.mapRequired("align", Section.align); in mapping() 337 IO.mapRequired("reloff", Section.reloff); in mapping() 338 IO.mapRequired("nreloc", Section.nreloc); in mapping() [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/DebugInfo/PDB/DIA/ |
| H A D | DIASectionContrib.cpp | 19 : Session(PDBSession), Section(DiaSection) {} in DIASectionContrib() 23 if (FAILED(Section->get_compiland(&Symbol))) in getCompiland() 32 PrivateGetDIAValue(IDiaSectionContrib *Section, in PrivateGetDIAValue() argument 35 if (S_OK == (Section->*Method)(&Value)) in PrivateGetDIAValue() 42 return PrivateGetDIAValue(Section, &IDiaSectionContrib::get_addressSection); in getAddressSection() 46 return PrivateGetDIAValue(Section, &IDiaSectionContrib::get_addressOffset); in getAddressOffset() 50 return PrivateGetDIAValue(Section, &IDiaSectionContrib::get_virtualAddress); in getVirtualAddress() 54 return PrivateGetDIAValue(Section, in getRelativeVirtualAddress() 59 return PrivateGetDIAValue(Section, &IDiaSectionContrib::get_length); in getLength() 63 return PrivateGetDIAValue(Section, &IDiaSectionContrib::get_notPaged); in isNotPaged() [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/DebugInfo/CodeView/ |
| H A D | DebugSubsectionVisitor.cpp | 55 DebugCrossModuleExportsSubsectionRef Section; in visitDebugSubsection() local 56 if (auto EC = Section.initialize(Reader)) in visitDebugSubsection() 58 return V.visitCrossModuleExports(Section, State); in visitDebugSubsection() 61 DebugCrossModuleImportsSubsectionRef Section; in visitDebugSubsection() local 62 if (auto EC = Section.initialize(Reader)) in visitDebugSubsection() 64 return V.visitCrossModuleImports(Section, State); in visitDebugSubsection() 67 DebugSymbolsSubsectionRef Section; in visitDebugSubsection() local 68 if (auto EC = Section.initialize(Reader)) in visitDebugSubsection() 70 return V.visitSymbols(Section, State); in visitDebugSubsection() 73 DebugStringTableSubsectionRef Section; in visitDebugSubsection() local [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/ |
| H A D | RuntimeDyldELFMips.cpp | 16 const SectionEntry &Section = Sections[RE.SectionID]; in resolveRelocation() local 18 resolveMIPSO32Relocation(Section, RE.Offset, Value, RE.RelType, RE.Addend); in resolveRelocation() 20 resolveMIPSN32Relocation(Section, RE.Offset, Value, RE.RelType, RE.Addend, in resolveRelocation() 23 resolveMIPSN64Relocation(Section, RE.Offset, Value, RE.RelType, RE.Addend, in resolveRelocation() 33 const SectionEntry &Section = Sections[RE.SectionID]; in evaluateRelocation() local 34 Value = evaluateMIPS64Relocation(Section, RE.Offset, Value, RE.RelType, in evaluateRelocation() 44 const SectionEntry &Section = Sections[RE.SectionID]; in applyRelocation() local 45 applyMIPSRelocation(Section.getAddressWithOffset(RE.Offset), Value, in applyRelocation() 53 RuntimeDyldELFMips::evaluateMIPS32Relocation(const SectionEntry &Section, in evaluateMIPS32Relocation() argument 58 << format("%llx", Section.getAddressWithOffset(Offset)) in evaluateMIPS32Relocation() [all …]
|
| /openbsd-src/gnu/usr.bin/cvs/doc/ |
| H A D | cvs.aux | 6 'xrdef {What is CVS?-snt}{Section'tie1.1} 9 'xrdef {What is CVS not?-snt}{Section'tie1.2} 12 'xrdef {A sample session-snt}{Section'tie1.3} 15 'xrdef {Getting the source-snt}{Section'tie1.3.1} 18 'xrdef {Committing your changes-snt}{Section'tie1.3.2} 21 'xrdef {Cleaning up-snt}{Section'tie1.3.3} 24 'xrdef {Viewing differences-snt}{Section'tie1.3.4} 30 'xrdef {Specifying a repository-snt}{Section'tie2.1} 33 'xrdef {Repository storage-snt}{Section'tie2.2} 36 'xrdef {Repository files-snt}{Section'tie2.2.1} [all …]
|
| H A D | cvsclient.aux | 21 'xrdef {Entries Lines-snt}{Section'tie5.1} 24 'xrdef {File Modes-snt}{Section'tie5.2} 27 'xrdef {Filenames-snt}{Section'tie5.3} 30 'xrdef {File transmissions-snt}{Section'tie5.4} 33 'xrdef {Strings-snt}{Section'tie5.5} 36 'xrdef {Dates-snt}{Section'tie5.6} 39 'xrdef {Request intro-snt}{Section'tie5.7} 42 'xrdef {Requests-snt}{Section'tie5.8} 45 'xrdef {Response intro-snt}{Section'tie5.9} 48 'xrdef {Response pathnames-snt}{Section'tie5.10} [all …]
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/ObjectYAML/ |
| H A D | WasmYAML.h | 186 struct Section { struct 187 explicit Section(SectionType SecType) : Type(SecType) {} in Section() function 188 virtual ~Section(); 194 struct CustomSection : Section { argument 196 : Section(wasm::WASM_SEC_CUSTOM), Name(Name) {} in CustomSection() 198 static bool classof(const Section *S) { in classof() 220 static bool classof(const Section *S) { in classof() 237 static bool classof(const Section *S) { in classof() 250 static bool classof(const Section *S) { in classof() 265 static bool classof(const Section *S) { in classof() [all …]
|
| 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 318 struct BBAddrMapSection : Section { 321 BBAddrMapSection() : Section(ChunkKind::BBAddrMap) {} in BBAddrMapSection() 332 struct StackSizesSection : Section { 335 StackSizesSection() : Section(ChunkKind::StackSizes) {} in StackSizesSection() 350 struct DynamicSection : Section { 353 DynamicSection() : Section(ChunkKind::Dynamic) {} in DynamicSection() 362 struct RawContentSection : Section { [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/TextAPI/ |
| H A D | TextStub.cpp | 287 static void mapping(IO &IO, ExportSection &Section) { in mapping() 292 IO.mapRequired("archs", Section.Architectures); in mapping() 294 IO.mapOptional("allowed-clients", Section.AllowableClients); in mapping() 296 IO.mapOptional("allowable-clients", Section.AllowableClients); in mapping() 297 IO.mapOptional("re-exports", Section.ReexportedLibraries); in mapping() 298 IO.mapOptional("symbols", Section.Symbols); in mapping() 299 IO.mapOptional("objc-classes", Section.Classes); in mapping() 301 IO.mapOptional("objc-eh-types", Section.ClassEHs); in mapping() 302 IO.mapOptional("objc-ivars", Section.IVars); in mapping() 303 IO.mapOptional("weak-def-symbols", Section.WeakDefSymbols); in mapping() [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/MC/ |
| H A D | ConstantPools.cpp | 79 ConstantPool *AssemblerConstantPools::getConstantPool(MCSection *Section) { in getConstantPool() argument 80 ConstantPoolMapTy::iterator CP = ConstantPools.find(Section); in getConstantPool() 88 AssemblerConstantPools::getOrCreateConstantPool(MCSection *Section) { in getOrCreateConstantPool() argument 89 return ConstantPools[Section]; in getOrCreateConstantPool() 92 static void emitConstantPool(MCStreamer &Streamer, MCSection *Section, in emitConstantPool() argument 95 Streamer.switchSection(Section); in emitConstantPool() 103 MCSection *Section = CPI.first; in emitAll() local 106 emitConstantPool(Streamer, Section, CP); in emitAll() 111 MCSection *Section = Streamer.getCurrentSectionOnly(); in emitForCurrentSection() local 112 if (ConstantPool *CP = getConstantPool(Section)) in emitForCurrentSection() [all …]
|
| H A D | WasmObjectWriter.cpp | 63 MCSectionWasm *Section; member 75 MCSection *Section; member 124 MCSectionWasm *Section; member 129 WasmCustomSection(StringRef Name, MCSectionWasm *Section) in WasmCustomSection() 130 : Name(Name), Section(Section) {} in WasmCustomSection() 257 void startSection(SectionBookkeeping &Section, unsigned SectionId); 258 void startCustomSection(SectionBookkeeping &Section, StringRef Name); 259 void endSection(SectionBookkeeping &Section); 369 void WasmObjectWriter::startSection(SectionBookkeeping &Section, in startSection() argument 374 Section.SizeOffset = W->OS.tell(); in startSection() [all …]
|
| H A D | WinCOFFObjectWriter.cpp | 85 COFFSection *Section = nullptr; member in __anona3bc21060111::COFFSymbol 307 COFFSection *Section = createSection(MCSec.getName()); in defineSection() local 309 Section->Symbol = Symbol; in defineSection() 310 Symbol->Section = Section; in defineSection() 317 if (COMDATSymbol->Section) in defineSection() 319 COMDATSymbol->Section = Section; in defineSection() 330 Section->Header.Characteristics = MCSec.getCharacteristics(); in defineSection() 331 Section->Header.Characteristics |= getAlignment(MCSec); in defineSection() 334 Section->MCSection = &MCSec; in defineSection() 335 SectionMap[&MCSec] = Section; in defineSection() [all …]
|
| /openbsd-src/gnu/llvm/clang/lib/Basic/ |
| H A D | ProfileList.cpp | 90 StringRef Section = getSectionName(Kind); in getDefault() local 92 if (SCL->inSection(Section, "default", "allow")) in getDefault() 94 if (SCL->inSection(Section, "default", "skip")) in getDefault() 96 if (SCL->inSection(Section, "default", "forbid")) in getDefault() 105 ProfileList::inSection(StringRef Section, StringRef Prefix, in inSection() argument 107 if (SCL->inSection(Section, Prefix, Query, "allow")) in inSection() 109 if (SCL->inSection(Section, Prefix, Query, "skip")) in inSection() 111 if (SCL->inSection(Section, Prefix, Query, "forbid")) in inSection() 113 if (SCL->inSection(Section, Prefix, Query)) in inSection() 121 StringRef Section = getSectionName(Kind); in isFunctionExcluded() local [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/ExecutionEngine/RuntimeDyld/ |
| H A D | RuntimeDyldELF.cpp | 259 void RuntimeDyldELF::resolveX86_64Relocation(const SectionEntry &Section, in resolveX86_64Relocation() argument 273 *Section.getAddressWithOffset(Offset) = TruncatedAddr; in resolveX86_64Relocation() 275 << format("%p\n", Section.getAddressWithOffset(Offset))); in resolveX86_64Relocation() 282 support::ulittle16_t::ref(Section.getAddressWithOffset(Offset)) = in resolveX86_64Relocation() 285 << format("%p\n", Section.getAddressWithOffset(Offset))); in resolveX86_64Relocation() 289 support::ulittle64_t::ref(Section.getAddressWithOffset(Offset)) = in resolveX86_64Relocation() 292 << format("%p\n", Section.getAddressWithOffset(Offset))); in resolveX86_64Relocation() 302 support::ulittle32_t::ref(Section.getAddressWithOffset(Offset)) = in resolveX86_64Relocation() 305 << format("%p\n", Section.getAddressWithOffset(Offset))); in resolveX86_64Relocation() 309 uint64_t FinalAddress = Section.getLoadAddressWithOffset(Offset); in resolveX86_64Relocation() [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/ObjCopy/wasm/ |
| H A D | WasmObjcopy.cpp | 22 using SectionPred = std::function<bool(const Section &Sec)>; 24 static bool isDebugSection(const Section &Sec) { in isDebugSection() 28 static bool isLinkerSection(const Section &Sec) { in isLinkerSection() 32 static bool isNameSection(const Section &Sec) { return Sec.Name == "name"; } in isNameSection() 36 static bool isCommentSection(const Section &Sec) { in isCommentSection() 42 for (const Section &Sec : Obj.Sections) { in dumpSectionToFile() 61 SectionPred RemovePred = [](const Section &) { return false; }; in removeSections() argument 65 RemovePred = [&Config](const Section &Sec) { in removeSections() 71 RemovePred = [RemovePred](const Section &Sec) { in removeSections() 77 RemovePred = [RemovePred](const Section &Sec) { in removeSections() [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/ObjCopy/COFF/ |
| H A D | COFFObject.cpp | 56 for (const Section &Sec : Sections) { in markSymbols() 68 void Object::addSections(ArrayRef<Section> NewSections) { in addSections() 69 for (Section S : NewSections) { in addSections() 77 SectionMap = DenseMap<ssize_t, Section *>(Sections.size()); in updateSections() 79 for (Section &S : Sections) { in updateSections() 85 const Section *Object::findSection(ssize_t UniqueId) const { in findSection() 89 void Object::removeSections(function_ref<bool(const Section &)> ToRemove) { in removeSections() 91 auto RemoveAssociated = [&AssociatedSections](const Section &Sec) { in removeSections() 96 llvm::erase_if(Sections, [ToRemove, &RemovedSections](const Section &Sec) { in removeSections() 120 void Object::truncateSections(function_ref<bool(const Section &)> ToTruncate) { in truncateSections() [all …]
|
| /openbsd-src/gnu/llvm/lldb/source/Core/ |
| H A D | Section.cpp | 28 const char *Section::GetTypeAsCString() const { in GetTypeAsCString() 154 Section::Section(const ModuleSP &module_sp, ObjectFile *obj_file, in Section() function in Section 169 Section::Section(const lldb::SectionSP &parent_section_sp, in Section() function in Section 187 Section::~Section() = default; 189 addr_t Section::GetFileAddress() const { in GetFileAddress() 201 bool Section::SetFileAddress(lldb::addr_t file_addr) { in SetFileAddress() 214 lldb::addr_t Section::GetOffset() const { in GetOffset() 224 addr_t Section::GetLoadBaseAddress(Target *target) const { in GetLoadBaseAddress() 234 const_cast<Section *>(this)->shared_from_this()); in GetLoadBaseAddress() 239 bool Section::ResolveContainedAddress(addr_t offset, Address &so_addr, in ResolveContainedAddress() [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/DebugInfo/PDB/ |
| H A D | PDBSymbolData.cpp | 26 if (auto Section = RawSymbol->getAddressSection()) in getLineNumbers() local 28 Section, RawSymbol->getAddressOffset(), Len); in getLineNumbers() 48 while (auto Section = SecContribs->getNext()) { in getCompilandId() local 49 if (Section->getAddressSection() == DataSection && in getCompilandId() 50 Section->getAddressOffset() <= DataOffset && in getCompilandId() 51 (Section->getAddressOffset() + Section->getLength()) > DataOffset) in getCompilandId() 52 return Section->getCompilandId(); in getCompilandId()
|
| /openbsd-src/gnu/llvm/llvm/tools/llvm-readobj/ |
| H A D | Win64EHDumper.cpp | 160 const coff_section *Section, uint64_t Offset, in formatSymbol() argument 167 if (!Ctx.ResolveSymbol(Section, Offset, Symbol, Ctx.UserData)) { in formatSymbol() 206 const coff_section *Section, in resolveRelocation() argument 212 Ctx.ResolveSymbol(Section, Offset, Symbol, Ctx.UserData)) in resolveRelocation() 229 for (const auto &Section : COFF.sections()) { in getSectionContaining() local 230 uint64_t Address = Section.getAddress(); in getSectionContaining() 231 uint64_t Size = Section.getSize(); in getSectionContaining() 234 return COFF.getCOFFSection(Section); in getSectionContaining() 242 const coff_section *Section, in printRuntimeFunctionEntry() argument 246 formatSymbol(Ctx, Section, Offset + 0, RF.StartAddress)); in printRuntimeFunctionEntry() [all …]
|
| /openbsd-src/gnu/llvm/lldb/include/lldb/Core/ |
| H A D | Section.h | 31 class Section; variable 54 size_t FindSectionIndex(const Section *sect); 102 class Section : public std::enable_shared_from_this<Section>, 108 Section(const lldb::ModuleSP &module_sp, ObjectFile *obj_file, 116 Section(const lldb::SectionSP &parent_section_sp, // NULL for top level 126 ~Section(); 128 static int Compare(const Section &a, const Section &b); 174 bool IsDescendant(const Section *section); 284 Section(const Section &) = delete; 285 const Section &operator=(const Section &) = delete;
|