Home
last modified time | relevance | path

Searched refs:SectionName (Results 1 – 25 of 114) sorted by relevance

12345

/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCContext.h259 : SectionName(SectionName), GroupName(GroupName), in ELFSectionKey()
263 if (SectionName != Other.SectionName)
264 return SectionName < Other.SectionName;
281 : SectionName(SectionName), GroupName(GroupName), in COFFSectionKey()
285 if (SectionName != Other.SectionName)
286 return SectionName < Other.SectionName;
305 if (SectionName != Other.SectionName)
306 return SectionName < Other.SectionName;
331 : SectionName(SectionName), DwarfSubtypeFlags(DwarfSubtypeFlags), in XCOFFSectionKey()
396 if (SectionName != Other.SectionName)
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/MC/MCParser/
H A DELFAsmParser.cpp251 SectionName = getTok().getIdentifier(); in ParseSectionName()
519 (SectionName.empty() || SectionName[0] == '.'); in hasPrefix()
540 StringRef SectionName; in ParseSectionArguments() local
542 if (ParseSectionName(SectionName)) in ParseSectionArguments()
557 if (hasPrefix(SectionName, ".rodata") || SectionName == ".rodata1") in ParseSectionArguments()
559 else if (SectionName == ".fini" || SectionName == ".init" || in ParseSectionArguments()
560 hasPrefix(SectionName, ".text")) in ParseSectionArguments()
562 else if (hasPrefix(SectionName, ".data") || SectionName == ".data1" || in ParseSectionArguments()
563 hasPrefix(SectionName, ".bss") || in ParseSectionArguments()
568 else if (hasPrefix(SectionName, ".tdata") || hasPrefix(SectionName, ".tbss")) in ParseSectionArguments()
[all …]
H A DCOFFMasmParser.cpp38 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 DCOFFAsmParser.cpp47 bool ParseSectionName(StringRef &SectionName);
48 bool ParseSectionFlags(StringRef SectionName, StringRef FlagsString,
167 bool COFFAsmParser::ParseSectionFlags(StringRef SectionName, in ParseSectionFlags() argument
273 MCSectionCOFF::isImplicitlyDiscardable(SectionName)) in ParseSectionFlags()
344 bool COFFAsmParser::ParseSectionName(StringRef &SectionName) { in ParseSectionName() argument
348 SectionName = getTok().getIdentifier(); in ParseSectionName()
374 StringRef SectionName; in parseSectionArguments() local
376 if (ParseSectionName(SectionName)) in parseSectionArguments()
392 if (ParseSectionFlags(SectionName, FlagsStr, &Flags)) in parseSectionArguments()
428 ParseSectionSwitch(SectionName, Flags, Kind, COMDATSymName, Type); in parseSectionArguments()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/MCTargetDesc/
H A DAMDGPUMCAsmInfo.cpp48 bool AMDGPUMCAsmInfo::shouldOmitSectionDirective(StringRef SectionName) const { in shouldOmitSectionDirective()
49 return SectionName == ".hsatext" || SectionName == ".hsadata_global_agent" || in shouldOmitSectionDirective()
50 SectionName == ".hsadata_global_program" || in shouldOmitSectionDirective()
51 SectionName == ".hsarodata_readonly_agent" || in shouldOmitSectionDirective()
52 MCAsmInfo::shouldOmitSectionDirective(SectionName); in shouldOmitSectionDirective()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Frontend/Offloading/
H A DUtility.cpp61 StringRef SectionName) { in emitOffloadingEntry() argument
75 Entry->setSection((SectionName + "$OE").str()); in emitOffloadingEntry()
77 Entry->setSection(SectionName); in emitOffloadingEntry()
82 offloading::getOffloadEntryArray(Module &M, StringRef SectionName) { in getOffloadEntryArray() argument
92 "__start_" + SectionName); in getOffloadEntryArray()
96 "__stop_" + SectionName); in getOffloadEntryArray()
106 ZeroInitilaizer, "__dummy." + SectionName); in getOffloadEntryArray()
107 DummyEntry->setSection(SectionName); in getOffloadEntryArray()
114 EntriesB->setSection((SectionName + "$OA").str()); in getOffloadEntryArray()
115 EntriesE->setSection((SectionName + "$OZ").str()); in getOffloadEntryArray()
/freebsd-14.2/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/
H A DDWARFRecordSectionSplitter.cpp17 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()
H A DCOFFLinkGraphBuilder.cpp133 StringRef SectionName; in graphifySections() local
135 SectionName = *SecNameOrErr; in graphifySections()
138 if (SectionName == ".voltbl") { in graphifySections()
141 << "Skipping section \"" << SectionName << "\"\n"; in graphifySections()
148 << "Creating section for \"" << SectionName << "\"\n"; in graphifySections()
161 auto *GraphSec = G->findSectionByName(SectionName); in graphifySections()
163 GraphSec = &G->createSection(SectionName, Prot); in graphifySections()
184 if (SectionName == getDirectiveSectionName()) in graphifySections()
/freebsd-14.2/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/
H A DDWARFListTable.cpp28 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()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/DebugInfo/DWARF/
H A DDWARFListTable.h49 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()
/freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-rtdyld/
H A Dllvm-rtdyld.cpp179 auto J = SectionIDs.find(SectionName); in getSectionId()
204 StringRef SectionName) override;
210 StringRef SectionName) override;
302 (*SecIDMap)[SectionName] = SectionID; in allocateCodeSection()
306 SectionName, SectionID); in allocateCodeSection()
331 (*SecIDMap)[SectionName] = SectionID; in allocateDataSection()
346 DataMemory.push_back(SectionInfo(SectionName, MB, SectionID)); in allocateDataSection()
362 StringRef SectionName) { in allocateTLSSection() argument
661 std::string SectionName = SectionIDStr.substr(ComaIdx + 1); in applySpecificSectionMappings() local
843 StringRef SectionName, in linkAndVerify()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-readobj/
H A DObjDumper.cpp147 StringRef SectionName, StringRef &SectionContent, in maybeDecompress() argument
150 SectionName, SectionContent, Obj.isLittleEndian(), Obj.is64Bit()); in maybeDecompress()
166 StringRef SectionName = unwrapOrError(Obj.getFileName(), Section.getName()); in printSectionsAsString() local
171 W.startLine() << "String dump of section '" << SectionName << "':\n"; in printSectionsAsString()
176 maybeDecompress(Obj, SectionName, SectionContent, Out); in printSectionsAsString()
188 StringRef SectionName = unwrapOrError(Obj.getFileName(), Section.getName()); in printSectionsAsHex() local
193 W.startLine() << "Hex dump of section '" << SectionName << "':\n"; in printSectionsAsHex()
198 maybeDecompress(Obj, SectionName, SectionContent, Out); in printSectionsAsHex()
/freebsd-14.2/contrib/llvm-project/llvm/lib/MC/
H A DMCAsmInfo.cpp126 bool MCAsmInfo::shouldOmitSectionDirective(StringRef SectionName) const { in shouldOmitSectionDirective()
128 return SectionName == ".text" || SectionName == ".data" || in shouldOmitSectionDirective()
129 (SectionName == ".bss" && !usesELFSectionDirectiveForBSS()); in shouldOmitSectionDirective()
H A DMCContext.cpp555 StringRef CachedName = Entry.first.SectionName; in getELFSection()
619 ELFSeenGenericMergeableSections.insert(SectionName); in recordELFMergeableSectionInfo()
624 if (IsMergeable || isELFGenericMergeableSection(SectionName)) { in recordELFMergeableSectionInfo()
631 return SectionName.starts_with(".rodata.str") || in isELFImplicitMergeableSectionNamePrefix()
632 SectionName.starts_with(".rodata.cst"); in isELFImplicitMergeableSectionNamePrefix()
636 return isELFImplicitMergeableSectionNamePrefix(SectionName) || in isELFGenericMergeableSection()
637 ELFSeenGenericMergeableSections.count(SectionName); in isELFGenericMergeableSection()
644 MCContext::ELFEntrySizeKey{SectionName, Flags, EntrySize}); in getELFUniqueIDForEntsize()
690 StringRef CachedName = Iter->first.SectionName; in getCOFFSection()
755 StringRef CachedName = Entry.first.SectionName; in getWasmSection()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-dwarfdump/
H A DSectionSizes.cpp86 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()
/freebsd-14.2/contrib/llvm-project/llvm/lib/ObjCopy/COFF/
H A DCOFFObjcopy.cpp134 static Error dumpSection(Object &O, StringRef SectionName, StringRef FileName) { in dumpSection() argument
136 if (Section.Name != SectionName) in dumpSection()
154 SectionName.str().c_str()); in dumpSection()
265 const auto It = Config.SetSectionFlags.find(NewSection.SectionName); in handleArgs()
271 addSection(Obj, NewSection.SectionName, in handleArgs()
280 return Sec.Name == NewSection.SectionName; in handleArgs()
285 NewSection.SectionName.str().c_str()); in handleArgs()
291 NewSection.SectionName.str().c_str()); in handleArgs()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Remarks/
H A DRemarkLinker.cpp40 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()
/freebsd-14.2/contrib/llvm-project/llvm/tools/lli/
H A DForwardingMemoryManager.h35 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()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Object/
H A DIRSymtab.h130 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()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/JITLink/
H A DDWARFRecordSectionSplitter.h23 DWARFRecordSectionSplitter(StringRef SectionName);
29 StringRef SectionName; variable
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUTargetObjectFile.cpp32 StringRef SectionName = GO->getSection(); in getExplicitSectionGlobal() local
33 if (SectionName.starts_with(".AMDGPU.comment.")) in getExplicitSectionGlobal()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/
H A DRuntimeDyld.h65 StringRef FileName, StringRef SectionName, StringRef SymbolName,
105 StringRef SectionName) = 0;
112 StringRef SectionName,
127 StringRef SectionName);
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Frontend/Offloading/
H A DUtility.h63 StringRef SectionName);
74 getOffloadEntryArray(Module &M, StringRef SectionName);
/freebsd-14.2/contrib/llvm-project/llvm/lib/ExecutionEngine/IntelJITEvents/
H A DIntelJITEventListener.cpp69 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()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ObjectYAML/
H A DCodeViewYAMLTypes.h54 StringRef SectionName);
56 StringRef SectionName);

12345