| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/MC/ |
| H A D | MCContext.h | 228 std::string SectionName; member 233 ELFSectionKey(StringRef SectionName, StringRef GroupName, in ELFSectionKey() 235 : SectionName(SectionName), GroupName(GroupName), in ELFSectionKey() 239 if (SectionName != Other.SectionName) 240 return SectionName < Other.SectionName; 250 std::string SectionName; member 255 COFFSectionKey(StringRef SectionName, StringRef GroupName, in COFFSectionKey() 257 : SectionName(SectionName), GroupName(GroupName), in COFFSectionKey() 261 if (SectionName != Other.SectionName) 262 return SectionName < Other.SectionName; [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/MC/MCParser/ |
| H A D | ELFAsmParser.cpp | 155 bool ParseSectionName(StringRef &SectionName); 245 bool ELFAsmParser::ParseSectionName(StringRef &SectionName) { in ParseSectionName() argument 252 SectionName = getTok().getIdentifier(); in ParseSectionName() 275 SectionName = StringRef(FirstLoc.getPointer(), Size); in ParseSectionName() 501 static bool hasPrefix(StringRef SectionName, StringRef Prefix) { in hasPrefix() argument 502 return SectionName.startswith(Prefix) || SectionName == Prefix.drop_back(); in hasPrefix() 506 StringRef SectionName; in ParseSectionArguments() local 508 if (ParseSectionName(SectionName)) in ParseSectionArguments() 523 if (hasPrefix(SectionName, ".rodata.") || SectionName == ".rodata1") in ParseSectionArguments() 525 else if (SectionName == ".fini" || SectionName == ".init" || in ParseSectionArguments() [all …]
|
| H A D | COFFAsmParser.cpp | 50 bool ParseSectionName(StringRef &SectionName); 51 bool ParseSectionFlags(StringRef SectionName, StringRef FlagsString, 162 bool COFFAsmParser::ParseSectionFlags(StringRef SectionName, in ParseSectionFlags() argument 263 MCSectionCOFF::isImplicitlyDiscardable(SectionName)) in ParseSectionFlags() 331 bool COFFAsmParser::ParseSectionName(StringRef &SectionName) { in ParseSectionName() argument 335 SectionName = getTok().getIdentifier(); in ParseSectionName() 356 StringRef SectionName; in ParseDirectiveSection() local 358 if (ParseSectionName(SectionName)) in ParseDirectiveSection() 374 if (ParseSectionFlags(SectionName, FlagsStr, &Flags)) in ParseDirectiveSection() 410 ParseSectionSwitch(SectionName, Flags, Kind, COMDATSymName, Type); in ParseDirectiveSection()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/MCTargetDesc/ |
| H A D | AMDGPUMCAsmInfo.cpp | 51 bool AMDGPUMCAsmInfo::shouldOmitSectionDirective(StringRef SectionName) const { in shouldOmitSectionDirective() 52 return SectionName == ".hsatext" || SectionName == ".hsadata_global_agent" || in shouldOmitSectionDirective() 53 SectionName == ".hsadata_global_program" || in shouldOmitSectionDirective() 54 SectionName == ".hsarodata_readonly_agent" || in shouldOmitSectionDirective() 55 MCAsmInfo::shouldOmitSectionDirective(SectionName); in shouldOmitSectionDirective()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/DebugInfo/DWARF/ |
| H A D | DWARFListTable.cpp | 27 SectionName.data(), HeaderOffset, toString(std::move(Err)).c_str()); in extract() 37 SectionName.data(), HeaderOffset, FullLength); in extract() 44 SectionName.data(), FullLength, HeaderOffset); in extract() 56 SectionName.data(), HeaderData.Version, HeaderOffset); in extract() 61 SectionName.data(), HeaderOffset, HeaderData.AddrSize); in extract() 66 SectionName.data(), HeaderOffset, HeaderData.SegSize); in extract() 72 SectionName.data(), HeaderOffset, HeaderData.OffsetEntryCount); in extract()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/DebugInfo/DWARF/ |
| H A D | DWARFListTable.h | 50 uint64_t *OffsetPtr, StringRef SectionName, 81 StringRef SectionName; variable 87 DWARFListTableHeader(StringRef SectionName, StringRef ListTypeString) in DWARFListTableHeader() argument 88 : SectionName(SectionName), ListTypeString(ListTypeString) {} in DWARFListTableHeader() 98 StringRef getSectionName() const { return SectionName; } in getSectionName() 157 DWARFListTableBase(StringRef SectionName, StringRef HeaderString, in DWARFListTableBase() argument 159 : Header(SectionName, ListTypeString), HeaderString(HeaderString) {} in DWARFListTableBase() 230 StringRef SectionName, in extract() argument 248 SectionName.data(), HeaderOffset); in extract()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-rtdyld/ |
| H A D | llvm-rtdyld.cpp | 173 StringRef FileName, StringRef SectionName) { in getSectionId() argument 179 auto J = SectionIDs.find(SectionName); in getSectionId() 181 return make_error<StringError>("No section named \"" + SectionName + in getSectionId() 204 StringRef SectionName) override; 206 unsigned SectionID, StringRef SectionName, 262 StringRef SectionName, unsigned SectionID) { in allocateFromSlab() argument 270 FunctionMemory.push_back(SectionInfo(SectionName, MB, SectionID)); in allocateFromSlab() 272 DataMemory.push_back(SectionInfo(SectionName, MB, SectionID)); in allocateFromSlab() 289 StringRef SectionName) { in allocateCodeSection() argument 292 << Alignment << ", SectionName = " << SectionName << ")\n"; in allocateCodeSection() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-dwarfdump/ |
| H A D | SectionSizes.cpp | 86 StringRef SectionName; in calculateSectionSizes() local 88 SectionName = *NameOrErr; in calculateSectionSizes() 93 LLVM_DEBUG(dbgs() << SectionName.str() << ": " << Section.getSize() in calculateSectionSizes() 96 if (!Section.isDebugSection(SectionName)) in calculateSectionSizes() 100 Sizes.DebugSectionSizes[std::string(SectionName)] += Section.getSize(); in calculateSectionSizes()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/MC/ |
| H A D | MCContext.cpp | 458 StringRef CachedName = I->first.SectionName; in renameELFSection() 551 StringRef CachedName = Entry.first.SectionName; in getELFSection() 579 void MCContext::recordELFMergeableSectionInfo(StringRef SectionName, in recordELFMergeableSectionInfo() argument 584 ELFSeenGenericMergeableSections.insert(SectionName); in recordELFMergeableSectionInfo() 589 if (IsMergeable || isELFGenericMergeableSection(SectionName)) { in recordELFMergeableSectionInfo() 591 ELFEntrySizeKey{SectionName, Flags, EntrySize}, UniqueID)); in recordELFMergeableSectionInfo() 595 bool MCContext::isELFImplicitMergeableSectionNamePrefix(StringRef SectionName) { in isELFImplicitMergeableSectionNamePrefix() argument 596 return SectionName.startswith(".rodata.str") || in isELFImplicitMergeableSectionNamePrefix() 597 SectionName.startswith(".rodata.cst"); in isELFImplicitMergeableSectionNamePrefix() 600 bool MCContext::isELFGenericMergeableSection(StringRef SectionName) { in isELFGenericMergeableSection() argument [all …]
|
| H A D | MCAsmInfo.cpp | 133 bool MCAsmInfo::shouldOmitSectionDirective(StringRef SectionName) const { in shouldOmitSectionDirective() 135 return SectionName == ".text" || SectionName == ".data" || in shouldOmitSectionDirective() 136 (SectionName == ".bss" && !usesELFSectionDirectiveForBSS()); in shouldOmitSectionDirective()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/tools/lli/ |
| H A D | RemoteJITUtils.h | 45 StringRef SectionName) override { in allocateCodeSection() argument 46 return MemMgr->allocateCodeSection(Size, Alignment, SectionID, SectionName); in allocateCodeSection() 50 unsigned SectionID, StringRef SectionName, in allocateDataSection() argument 52 return MemMgr->allocateDataSection(Size, Alignment, SectionID, SectionName, in allocateDataSection()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Remarks/ |
| H A D | RemarkLinker.cpp | 34 Expected<StringRef> SectionName = getRemarksSectionName(Obj); in getRemarksSectionContents() local 35 if (!SectionName) in getRemarksSectionContents() 36 return SectionName.takeError(); in getRemarksSectionContents() 42 if (*MaybeName != *SectionName) in getRemarksSectionContents()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Object/ |
| H A D | IRSymtab.h | 126 Str SectionName; member 175 StringRef SectionName; member 227 StringRef getSectionName() const { return SectionName; } in getSectionName() 325 SectionName = R->str(UncI->SectionName); in read() 328 SectionName = ""; in read()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-profgen/ |
| H A D | PseudoProbe.cpp | 107 exitWithError("Decode unencoded number error in " + SectionName + in readUnencodedNumber() 118 exitWithError("Decode number error in " + SectionName + " section"); in readUnsignedNumber() 128 exitWithError("Decode number error in " + SectionName + " section"); in readSignedNumber() 137 exitWithError("Decode string error in " + SectionName + " section"); in readString() 156 SectionName = "pseudo_probe_desc"; in buildGUID2FuncDescMap() 205 SectionName = "pseudo_probe"; in buildAddress2ProbeMap()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/IntelJITEvents/ |
| H A D | IntelJITEventListener.cpp | 68 void reportSection(llvm::IttEventType EventType, const char *SectionName, in reportSection() argument 70 WrapperRef.iJitIttNotifyInfo(EventType, SectionName, SectionSize); in reportSection() 89 StringRef SectionName(""); in fillSectionInformation() local 92 SectionName = *SectionNameOrError; in fillSectionInformation() 94 SectionNamesVector.push_back(SectionName.str()); in fillSectionInformation() 96 reportSection(llvm::LoadBinarySection, SectionName.str().c_str(), in fillSectionInformation()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-readobj/ |
| H A D | ObjDumper.cpp | 103 StringRef SectionName = unwrapOrError(Obj.getFileName(), Section.getName()); in printSectionsAsString() local 108 W.startLine() << "String dump of section '" << SectionName << "':\n"; in printSectionsAsString() 137 StringRef SectionName = unwrapOrError(Obj.getFileName(), Section.getName()); in printSectionsAsHex() local 142 W.startLine() << "Hex dump of section '" << SectionName << "':\n"; in printSectionsAsHex()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/ |
| H A D | ExecutionEngineBindings.cpp | 342 StringRef SectionName) override; 345 unsigned SectionID, StringRef SectionName, 375 StringRef SectionName) { in allocateCodeSection() argument 377 SectionName.str().c_str()); in allocateCodeSection() 382 StringRef SectionName, bool isReadOnly) { in allocateDataSection() argument 384 SectionName.str().c_str(), in allocateDataSection()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUTargetObjectFile.cpp | 32 StringRef SectionName = GO->getSection(); in getExplicitSectionGlobal() local 33 if (SectionName.startswith(".AMDGPU.comment.")) in getExplicitSectionGlobal()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-nm/ |
| H A D | llvm-nm.cpp | 311 StringRef SectionName; member 551 StringRef SectionName; in darwinPrintSymbol() local 553 SectionName = *NameOrErr; in darwinPrintSymbol() 555 outs() << "(" << SegmentName << "," << SectionName << ") "; in darwinPrintSymbol() 915 << SymbolSizeStr << "| |" << S.SectionName << "\n"; in sortAndPrintSymbolList() 1056 StringRef SectionName; in getSymbolNMTypeChar() local 1058 SectionName = *NameOrErr; in getSymbolNMTypeChar() 1061 SegmentName == "__TEXT_EXEC" && SectionName == "__text") in getSymbolNMTypeChar() 1063 if (SegmentName == "__TEXT" && SectionName == "__text") in getSymbolNMTypeChar() 1065 if (SegmentName == "__DATA" && SectionName == "__data") in getSymbolNMTypeChar() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ObjectYAML/ |
| H A D | CodeViewYAMLTypes.h | 54 StringRef SectionName); 56 StringRef SectionName);
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/XCore/ |
| H A D | XCoreTargetObjectFile.cpp | 99 StringRef SectionName = GO->getSection(); in getExplicitSectionGlobal() local 101 bool IsCPRel = SectionName.startswith(".cp."); in getExplicitSectionGlobal() 104 return getContext().getELFSection(SectionName, getXCoreSectionType(Kind), in getExplicitSectionGlobal()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ExecutionEngine/ |
| H A D | RuntimeDyld.h | 65 StringRef FileName, StringRef SectionName, StringRef SymbolName, 105 StringRef SectionName) = 0; 112 StringRef SectionName,
|
| H A D | SectionMemoryManager.h | 119 StringRef SectionName) override; 127 unsigned SectionID, StringRef SectionName,
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/ |
| H A D | TargetLoweringObjectFileImpl.cpp | 660 StringRef SectionName = GO->getSection(); in selectExplicitSectionGlobal() local 669 SectionName = Attrs.getAttribute("bss-section").getValueAsString(); in selectExplicitSectionGlobal() 671 SectionName = Attrs.getAttribute("rodata-section").getValueAsString(); in selectExplicitSectionGlobal() 673 SectionName = Attrs.getAttribute("relro-section").getValueAsString(); in selectExplicitSectionGlobal() 675 SectionName = Attrs.getAttribute("data-section").getValueAsString(); in selectExplicitSectionGlobal() 680 SectionName = F->getFnAttribute("implicit-section-name").getValueAsString(); in selectExplicitSectionGlobal() 684 Kind = getELFKindForNamedSection(SectionName, Kind); in selectExplicitSectionGlobal() 716 auto maybeID = Ctx.getELFUniqueIDForEntsize(SectionName, Flags, in selectExplicitSectionGlobal() 727 if (!(Ctx.isELFImplicitMergeableSectionNamePrefix(SectionName) && in selectExplicitSectionGlobal() 728 SectionName.startswith(ImplicitSectionNameStem))) in selectExplicitSectionGlobal() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/Orc/ |
| H A D | MachOPlatform.cpp | 287 getSectionExtent(jitlink::LinkGraph &G, StringRef SectionName) { in getSectionExtent() argument 288 auto *Sec = G.findSectionByName(SectionName); in getSectionExtent() 293 return make_error<StringError>(SectionName + " section size is not a " in getSectionExtent() 406 StringRef SectionName) { in preserveInitSectionIfPresent() argument 407 if (auto *Sec = G.findSectionByName(SectionName)) { in preserveInitSectionIfPresent()
|