| /openbsd-src/gnu/llvm/llvm/include/llvm/MC/ |
| H A D | MCContext.h | 252 std::string SectionName; member 257 ELFSectionKey(StringRef SectionName, StringRef GroupName, in ELFSectionKey() 259 : SectionName(SectionName), GroupName(GroupName), in ELFSectionKey() 263 if (SectionName != Other.SectionName) 264 return SectionName < Other.SectionName; 274 std::string SectionName; member 279 COFFSectionKey(StringRef SectionName, StringRef GroupName, int SelectionKey, in COFFSectionKey() 281 : SectionName(SectionName), GroupName(GroupName), in COFFSectionKey() 285 if (SectionName != Other.SectionName) 286 return SectionName < Other.SectionName; [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/MC/MCParser/ |
| H A D | ELFAsmParser.cpp | 153 bool ParseSectionName(StringRef &SectionName); 243 bool ELFAsmParser::ParseSectionName(StringRef &SectionName) { in ParseSectionName() argument 250 SectionName = getTok().getIdentifier(); in ParseSectionName() 273 SectionName = StringRef(FirstLoc.getPointer(), Size); in ParseSectionName() 503 static bool hasPrefix(StringRef SectionName, StringRef Prefix) { in hasPrefix() argument 504 return SectionName.consume_front(Prefix) && in hasPrefix() 505 (SectionName.empty() || SectionName[0] == '.'); in hasPrefix() 508 static bool allowSectionTypeMismatch(const Triple &TT, StringRef SectionName, in allowSectionTypeMismatch() argument 514 return SectionName == ".eh_frame" && Type == ELF::SHT_PROGBITS; in allowSectionTypeMismatch() 520 return SectionName.startswith(".debug_") && Type == ELF::SHT_PROGBITS; in allowSectionTypeMismatch() [all …]
|
| H A D | COFFMasmParser.cpp | 38 bool ParseSectionSwitch(StringRef SectionName, unsigned Characteristics, 41 bool ParseSectionSwitch(StringRef SectionName, unsigned Characteristics, 220 bool COFFMasmParser::ParseSectionSwitch(StringRef SectionName, in ParseSectionSwitch() argument 223 return ParseSectionSwitch(SectionName, Characteristics, Kind, "", in ParseSectionSwitch() 228 StringRef SectionName, unsigned Characteristics, SectionKind Kind, in ParseSectionSwitch() argument 234 MCSection *Section = getContext().getCOFFSection(SectionName, Characteristics, in ParseSectionSwitch() 249 StringRef SectionName = SegmentName; in ParseDirectiveSegment() local 255 SectionName = ".text"; in ParseDirectiveSegment() 257 SectionName = in ParseDirectiveSegment() 315 SectionName = getTok().getStringContents(); in ParseDirectiveSegment() [all …]
|
| H A D | COFFAsmParser.cpp | 47 bool ParseSectionName(StringRef &SectionName); 48 bool ParseSectionFlags(StringRef SectionName, StringRef FlagsString, 159 bool COFFAsmParser::ParseSectionFlags(StringRef SectionName, in ParseSectionFlags() argument 265 MCSectionCOFF::isImplicitlyDiscardable(SectionName)) in ParseSectionFlags() 335 bool COFFAsmParser::ParseSectionName(StringRef &SectionName) { in ParseSectionName() argument 339 SectionName = getTok().getIdentifier(); in ParseSectionName() 360 StringRef SectionName; in ParseDirectiveSection() local 362 if (ParseSectionName(SectionName)) in ParseDirectiveSection() 378 if (ParseSectionFlags(SectionName, FlagsStr, &Flags)) in ParseDirectiveSection() 414 ParseSectionSwitch(SectionName, Flags, Kind, COMDATSymName, Type); in ParseDirectiveSection()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/MCTargetDesc/ |
| H A D | AMDGPUMCAsmInfo.cpp | 49 bool AMDGPUMCAsmInfo::shouldOmitSectionDirective(StringRef SectionName) const { in shouldOmitSectionDirective() 50 return SectionName == ".hsatext" || SectionName == ".hsadata_global_agent" || in shouldOmitSectionDirective() 51 SectionName == ".hsadata_global_program" || in shouldOmitSectionDirective() 52 SectionName == ".hsarodata_readonly_agent" || in shouldOmitSectionDirective() 53 MCAsmInfo::shouldOmitSectionDirective(SectionName); in shouldOmitSectionDirective()
|
| /openbsd-src/gnu/llvm/llvm/lib/ExecutionEngine/JITLink/ |
| H A D | DWARFRecordSectionSplitter.cpp | 17 DWARFRecordSectionSplitter::DWARFRecordSectionSplitter(StringRef SectionName) in DWARFRecordSectionSplitter() argument 18 : SectionName(SectionName) {} in DWARFRecordSectionSplitter() 21 auto *Section = G.findSectionByName(SectionName); in operator ()() 25 dbgs() << "DWARFRecordSectionSplitter: No " << SectionName in operator ()() 32 dbgs() << "DWARFRecordSectionSplitter: Processing " << SectionName in operator ()() 70 SectionName + " section"); in processBlock()
|
| /openbsd-src/gnu/llvm/llvm/lib/DebugInfo/DWARF/ |
| H A D | DWARFListTable.cpp | 28 SectionName.data(), HeaderOffset, toString(std::move(Err)).c_str()); in extract() 38 SectionName.data(), HeaderOffset, FullLength); in extract() 45 SectionName.data(), FullLength, HeaderOffset); in extract() 57 SectionName.data(), HeaderData.Version, HeaderOffset); in extract() 60 "%s table at offset 0x%" PRIx64, SectionName.data(), HeaderOffset)) in extract() 66 SectionName.data(), HeaderOffset, HeaderData.SegSize); in extract() 72 SectionName.data(), HeaderOffset, HeaderData.OffsetEntryCount); in extract()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/DebugInfo/DWARF/ |
| H A D | DWARFListTable.h | 49 uint64_t *OffsetPtr, StringRef SectionName, 80 StringRef SectionName; variable 86 DWARFListTableHeader(StringRef SectionName, StringRef ListTypeString) in DWARFListTableHeader() argument 87 : SectionName(SectionName), ListTypeString(ListTypeString) {} in DWARFListTableHeader() 97 StringRef getSectionName() const { return SectionName; } in getSectionName() 157 DWARFListTableBase(StringRef SectionName, StringRef HeaderString, in DWARFListTableBase() argument 159 : Header(SectionName, ListTypeString), HeaderString(HeaderString) {} in DWARFListTableBase() 232 StringRef SectionName, in extract() argument 250 SectionName.data(), HeaderOffset); in extract()
|
| /openbsd-src/gnu/llvm/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, 210 StringRef SectionName) override; 266 StringRef SectionName, unsigned SectionID) { in allocateFromSlab() argument 274 FunctionMemory.push_back(SectionInfo(SectionName, MB, SectionID)); in allocateFromSlab() 276 DataMemory.push_back(SectionInfo(SectionName, MB, SectionID)); in allocateFromSlab() 296 StringRef SectionName) { in allocateCodeSection() argument [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/MC/ |
| H A D | MCAsmInfo.cpp | 137 bool MCAsmInfo::shouldOmitSectionDirective(StringRef SectionName) const { in shouldOmitSectionDirective() 139 return SectionName == ".text" || SectionName == ".data" || in shouldOmitSectionDirective() 140 (SectionName == ".bss" && !usesELFSectionDirectiveForBSS()); in shouldOmitSectionDirective()
|
| H A D | MCContext.cpp | 554 StringRef CachedName = Entry.first.SectionName; in getELFSection() 613 void MCContext::recordELFMergeableSectionInfo(StringRef SectionName, in recordELFMergeableSectionInfo() argument 618 ELFSeenGenericMergeableSections.insert(SectionName); in recordELFMergeableSectionInfo() 623 if (IsMergeable || isELFGenericMergeableSection(SectionName)) { in recordELFMergeableSectionInfo() 625 ELFEntrySizeKey{SectionName, Flags, EntrySize}, UniqueID)); in recordELFMergeableSectionInfo() 629 bool MCContext::isELFImplicitMergeableSectionNamePrefix(StringRef SectionName) { in isELFImplicitMergeableSectionNamePrefix() argument 630 return SectionName.startswith(".rodata.str") || in isELFImplicitMergeableSectionNamePrefix() 631 SectionName.startswith(".rodata.cst"); in isELFImplicitMergeableSectionNamePrefix() 634 bool MCContext::isELFGenericMergeableSection(StringRef SectionName) { in isELFGenericMergeableSection() argument 635 return isELFImplicitMergeableSectionNamePrefix(SectionName) || in isELFGenericMergeableSection() [all …]
|
| /openbsd-src/gnu/llvm/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() 100 Sizes.DebugSectionSizes[std::string(SectionName)] += Section.getSize(); in calculateSectionSizes()
|
| /openbsd-src/gnu/llvm/llvm/lib/Remarks/ |
| H A D | RemarkLinker.cpp | 40 Expected<StringRef> SectionName = getRemarksSectionName(Obj); in getRemarksSectionContents() local 41 if (!SectionName) in getRemarksSectionContents() 42 return SectionName.takeError(); in getRemarksSectionContents() 48 if (*MaybeName != *SectionName) in getRemarksSectionContents()
|
| /openbsd-src/gnu/llvm/llvm/tools/lli/ |
| H A D | ForwardingMemoryManager.h | 35 StringRef SectionName) override { in allocateCodeSection() argument 36 return MemMgr->allocateCodeSection(Size, Alignment, SectionID, SectionName); in allocateCodeSection() 40 unsigned SectionID, StringRef SectionName, in allocateDataSection() argument 42 return MemMgr->allocateDataSection(Size, Alignment, SectionID, SectionName, in allocateDataSection()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/Object/ |
| H A D | IRSymtab.h | 130 Str SectionName; member 179 StringRef SectionName; member 231 StringRef getSectionName() const { return SectionName; } in getSectionName() 331 SectionName = R->str(UncI->SectionName); in read() 334 SectionName = ""; in read()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/ExecutionEngine/JITLink/ |
| H A D | DWARFRecordSectionSplitter.h | 23 DWARFRecordSectionSplitter(StringRef SectionName); 29 StringRef SectionName; variable
|
| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/ExecutionEngine/ |
| H A D | RuntimeDyld.h | 65 StringRef FileName, StringRef SectionName, StringRef SymbolName, 105 StringRef SectionName) = 0; 112 StringRef SectionName, 127 StringRef SectionName);
|
| /openbsd-src/gnu/llvm/llvm/lib/ExecutionEngine/IntelJITEvents/ |
| H A D | IntelJITEventListener.cpp | 69 void reportSection(llvm::IttEventType EventType, const char *SectionName, in reportSection() argument 71 WrapperRef.iJitIttNotifyInfo(EventType, SectionName, SectionSize); in reportSection() 90 StringRef SectionName(""); in fillSectionInformation() local 93 SectionName = *SectionNameOrError; in fillSectionInformation() 95 SectionNamesVector.push_back(SectionName.str()); in fillSectionInformation() 97 reportSection(llvm::LoadBinarySection, SectionName.str().c_str(), in fillSectionInformation()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/ObjectYAML/ |
| H A D | CodeViewYAMLTypes.h | 54 StringRef SectionName); 56 StringRef SectionName);
|
| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/llvm/tools/llvm-readobj/ |
| H A D | ObjDumper.cpp | 149 StringRef SectionName = unwrapOrError(Obj.getFileName(), Section.getName()); in printSectionsAsString() local 154 W.startLine() << "String dump of section '" << SectionName << "':\n"; in printSectionsAsString() 167 StringRef SectionName = unwrapOrError(Obj.getFileName(), Section.getName()); in printSectionsAsHex() local 172 W.startLine() << "Hex dump of section '" << SectionName << "':\n"; in printSectionsAsHex()
|
| /openbsd-src/gnu/llvm/llvm/tools/dsymutil/ |
| H A D | DwarfLinkerForBinary.cpp | 428 auto SectionName = (*Section)->getName(); in collectRelocationsToApplyToSwiftReflectionSections() local 429 if (!SectionName) in collectRelocationsToApplyToSwiftReflectionSections() 432 MO->mapReflectionSectionNameToEnumValue(*SectionName); in collectRelocationsToApplyToSwiftReflectionSections() 477 auto SectionName = Section.getName(); in collectRelocationsToApplyToSwiftReflectionSections() local 478 if (!SectionName) in collectRelocationsToApplyToSwiftReflectionSections() 485 MO->mapReflectionSectionNameToEnumValue(*SectionName); in collectRelocationsToApplyToSwiftReflectionSections() 886 StringRef SectionName; in findValidRelocsInDebugSections() local 888 SectionName = *NameOrErr; in findValidRelocsInDebugSections() 892 SectionName = SectionName.substr(SectionName.find_first_not_of("._")); in findValidRelocsInDebugSections() 893 if (SectionName == "debug_info") in findValidRelocsInDebugSections() [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/ObjCopy/COFF/ |
| H A D | COFFObjcopy.cpp | 235 const auto It = Config.SetSectionFlags.find(NewSection.SectionName); in handleArgs() 241 addSection(Obj, NewSection.SectionName, in handleArgs() 250 return Sec.Name == NewSection.SectionName; in handleArgs() 255 NewSection.SectionName.str().c_str()); in handleArgs() 261 NewSection.SectionName.str().c_str()); in handleArgs()
|
| /openbsd-src/gnu/llvm/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()
|