| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/NVPTX/MCTargetDesc/ |
| H A D | NVPTXTargetStreamer.cpp | 43 const MCSection *Section) { in isDwarfSection() argument 46 if (!Section || Section->getKind().isText() || in isDwarfSection() 47 Section->getKind().isWriteable()) in isDwarfSection() 49 return Section == FI->getDwarfAbbrevSection() || in isDwarfSection() 50 Section == FI->getDwarfInfoSection() || in isDwarfSection() 51 Section == FI->getDwarfMacinfoSection() || in isDwarfSection() 52 Section == FI->getDwarfFrameSection() || in isDwarfSection() 53 Section == FI->getDwarfAddrSection() || in isDwarfSection() 54 Section == FI->getDwarfRangesSection() || in isDwarfSection() 55 Section == FI->getDwarfARangesSection() || in isDwarfSection() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/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::EventSection &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 | 1210 IO.mapOptional("Section", Symbol.Section); in mapping() 1228 if (Symbol.Index && Symbol.Section) in validate() 1233 static void commonSectionMapping(IO &IO, ELFYAML::Section &Section) { in commonSectionMapping() argument 1234 IO.mapOptional("Name", Section.Name, StringRef()); in commonSectionMapping() 1235 IO.mapRequired("Type", Section.Type); in commonSectionMapping() 1236 IO.mapOptional("Flags", Section.Flags); in commonSectionMapping() 1237 IO.mapOptional("Address", Section.Address); in commonSectionMapping() 1238 IO.mapOptional("Link", Section.Link); in commonSectionMapping() 1239 IO.mapOptional("AddressAlign", Section.AddressAlign, Hex64(0)); in commonSectionMapping() 1240 IO.mapOptional("EntSize", Section.EntSize); in commonSectionMapping() [all …]
|
| H A D | ELFEmitter.cpp | 211 StringRef SecName, ELFYAML::Section *YAMLSec); 216 ELFYAML::Section *YAMLSec); 220 ELFYAML::Section *YAMLSec); 223 ELFYAML::Section *YAMLSec); 234 const ELFYAML::NoBitsSection &Section, 237 const ELFYAML::RawContentSection &Section, 240 const ELFYAML::RelocationSection &Section, 243 const ELFYAML::RelrSection &Section, 252 const ELFYAML::SymverSection &Section, 255 const ELFYAML::VerneedSection &Section, [all …]
|
| H A D | MachOYAML.cpp | 290 void MappingTraits<MachOYAML::Section>::mapping(IO &IO, in mapping() 291 MachOYAML::Section &Section) { in mapping() argument 292 IO.mapRequired("sectname", Section.sectname); in mapping() 293 IO.mapRequired("segname", Section.segname); in mapping() 294 IO.mapRequired("addr", Section.addr); in mapping() 295 IO.mapRequired("size", Section.size); in mapping() 296 IO.mapRequired("offset", Section.offset); in mapping() 297 IO.mapRequired("align", Section.align); in mapping() 298 IO.mapRequired("reloff", Section.reloff); in mapping() 299 IO.mapRequired("nreloc", Section.nreloc); in mapping() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/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 …]
|
| /netbsd-src/external/apache2/llvm/dist/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 …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ObjectYAML/ |
| H A D | WasmYAML.h | 182 struct Section { struct 183 explicit Section(SectionType SecType) : Type(SecType) {} in Section() function 184 virtual ~Section(); 190 struct CustomSection : Section { argument 192 : Section(wasm::WASM_SEC_CUSTOM), Name(Name) {} in CustomSection() 194 static bool classof(const Section *S) { in classof() 205 static bool classof(const Section *S) { in classof() 220 static bool classof(const Section *S) { in classof() 233 static bool classof(const Section *S) { in classof() 248 static bool classof(const Section *S) { in classof() [all …]
|
| H A D | ELFYAML.h | 138 Optional<StringRef> Section; member 221 struct Section : public Chunk { struct 235 Section(ChunkKind Kind, bool IsImplicit = false) : Chunk(Kind, IsImplicit) {} in Chunk() argument 313 struct BBAddrMapSection : Section { 316 BBAddrMapSection() : Section(ChunkKind::BBAddrMap) {} in BBAddrMapSection() 327 struct StackSizesSection : Section { 330 StackSizesSection() : Section(ChunkKind::StackSizes) {} in StackSizesSection() 345 struct DynamicSection : Section { 348 DynamicSection() : Section(ChunkKind::Dynamic) {} in DynamicSection() 357 struct RawContentSection : Section { [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/DebugInfo/CodeView/ |
| H A D | DebugSubsectionVisitor.cpp | 54 DebugCrossModuleExportsSubsectionRef Section; in visitDebugSubsection() local 55 if (auto EC = Section.initialize(Reader)) in visitDebugSubsection() 57 return V.visitCrossModuleExports(Section, State); in visitDebugSubsection() 60 DebugCrossModuleImportsSubsectionRef Section; in visitDebugSubsection() local 61 if (auto EC = Section.initialize(Reader)) in visitDebugSubsection() 63 return V.visitCrossModuleImports(Section, State); in visitDebugSubsection() 66 DebugSymbolsSubsectionRef Section; in visitDebugSubsection() local 67 if (auto EC = Section.initialize(Reader)) in visitDebugSubsection() 69 return V.visitSymbols(Section, State); in visitDebugSubsection() 72 DebugStringTableSubsectionRef Section; in visitDebugSubsection() local [all …]
|
| /netbsd-src/external/apache2/llvm/dist/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 …]
|
| /netbsd-src/external/apache2/llvm/dist/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 …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/MC/ |
| H A D | ConstantPools.cpp | 66 ConstantPool *AssemblerConstantPools::getConstantPool(MCSection *Section) { in getConstantPool() argument 67 ConstantPoolMapTy::iterator CP = ConstantPools.find(Section); in getConstantPool() 75 AssemblerConstantPools::getOrCreateConstantPool(MCSection *Section) { in getOrCreateConstantPool() argument 76 return ConstantPools[Section]; in getOrCreateConstantPool() 79 static void emitConstantPool(MCStreamer &Streamer, MCSection *Section, in emitConstantPool() argument 82 Streamer.SwitchSection(Section); in emitConstantPool() 90 MCSection *Section = CPI.first; in emitAll() local 93 emitConstantPool(Streamer, Section, CP); in emitAll() 98 MCSection *Section = Streamer.getCurrentSectionOnly(); in emitForCurrentSection() local 99 if (ConstantPool *CP = getConstantPool(Section)) in emitForCurrentSection() [all …]
|
| H A D | XCOFFObjectWriter.cpp | 101 struct Section { struct 141 Section(StringRef N, XCOFF::SectionTypeFlags Flags, bool IsVirtual, in Section() argument 185 Section Text; 186 Section Data; 187 Section BSS; 188 Section TData; 189 Section TBSS; 193 std::array<Section *const, 5> Sections{{&Text, &Data, &BSS, &TData, &TBSS}}; 518 for (const auto *Section : Sections) { in writeSections() local 520 if (Section->Index == Section::UninitializedIndex || Section->IsVirtual) in writeSections() [all …]
|
| H A D | WasmObjectWriter.cpp | 65 MCSectionWasm *Section; member 126 MCSectionWasm *Section; member 131 WasmCustomSection(StringRef Name, MCSectionWasm *Section) in WasmCustomSection() 132 : Name(Name), Section(Section), OutputContentsOffset(0), in WasmCustomSection() 238 void startSection(SectionBookkeeping &Section, unsigned SectionId); 239 void startCustomSection(SectionBookkeeping &Section, StringRef Name); 240 void endSection(SectionBookkeeping &Section); 348 void WasmObjectWriter::startSection(SectionBookkeeping &Section, in startSection() argument 353 Section.SizeOffset = W->OS.tell(); in startSection() 360 Section.ContentsOffset = W->OS.tell(); in startSection() [all …]
|
| H A D | WinCOFFObjectWriter.cpp | 84 COFFSection *Section = nullptr; member in __anon9a7db13a0111::COFFSymbol 303 COFFSection *Section = createSection(MCSec.getName()); in defineSection() local 305 Section->Symbol = Symbol; in defineSection() 306 Symbol->Section = Section; in defineSection() 313 if (COMDATSymbol->Section) in defineSection() 315 COMDATSymbol->Section = Section; in defineSection() 326 Section->Header.Characteristics = MCSec.getCharacteristics(); in defineSection() 327 Section->Header.Characteristics |= getAlignment(MCSec); in defineSection() 330 Section->MCSection = &MCSec; in defineSection() 331 SectionMap[&MCSec] = Section; in defineSection() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-readobj/ |
| H A D | Win64EHDumper.cpp | 129 const coff_section *Section, uint64_t Offset, in formatSymbol() argument 135 if (!Ctx.ResolveSymbol(Section, Offset, Symbol, Ctx.UserData)) { in formatSymbol() 168 const coff_section *Section, in resolveRelocation() argument 174 Ctx.ResolveSymbol(Section, Offset, Symbol, Ctx.UserData)) in resolveRelocation() 191 for (const auto &Section : COFF.sections()) { in getSectionContaining() local 192 uint64_t Address = Section.getAddress(); in getSectionContaining() 193 uint64_t Size = Section.getSize(); in getSectionContaining() 196 return COFF.getCOFFSection(Section); in getSectionContaining() 204 const coff_section *Section, in printRuntimeFunctionEntry() argument 208 formatSymbol(Ctx, Section, Offset + 0, RF.StartAddress)); in printRuntimeFunctionEntry() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-objcopy/COFF/ |
| H A D | Object.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 …]
|
| /netbsd-src/external/mit/xorg/etc/etc.hpc/ |
| H A D | xorg.conf.800x600-us | 3 Section "ServerLayout" 11 Section "Files" 15 Section "ServerFlags" 20 Section "InputDevice" 28 Section "InputDevice" 46 Section "InputDevice" 53 Section "Device" 60 Section "Monitor" 66 Section "Screen"
|
| H A D | xorg.conf.640x240-us | 3 Section "ServerLayout" 11 Section "Files" 15 Section "ServerFlags" 20 Section "InputDevice" 28 Section "InputDevice" 45 Section "InputDevice" 52 Section "Device" 59 Section "Monitor" 65 Section "Screen"
|
| H A D | xorg.conf.640x480-us | 3 Section "ServerLayout" 11 Section "Files" 15 Section "ServerFlags" 20 Section "InputDevice" 28 Section "InputDevice" 45 Section "InputDevice" 52 Section "Device" 59 Section "Monitor" 65 Section "Screen"
|
| H A D | xorg.conf.640x240-jp | 3 Section "ServerLayout" 11 Section "Files" 15 Section "ServerFlags" 20 Section "InputDevice" 28 Section "InputDevice" 45 Section "InputDevice" 52 Section "Device" 59 Section "Monitor" 65 Section "Screen"
|
| /netbsd-src/external/mit/xorg/etc/etc.hpcarm/ |
| H A D | xorg.conf.ws011sh | 3 Section "ServerLayout" 11 Section "Files" 15 Section "ServerFlags" 20 Section "InputDevice" 29 Section "InputDevice" 46 Section "InputDevice" 53 Section "Device" 60 Section "Monitor" 66 Section "Screen"
|
| H A D | xorg.conf.ws003sh | 3 Section "ServerLayout" 11 Section "Files" 15 Section "ServerFlags" 20 Section "InputDevice" 29 Section "InputDevice" 46 Section "InputDevice" 53 Section "Device" 60 Section "Monitor" 66 Section "Screen"
|