Home
last modified time | relevance | path

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

1234

/freebsd-12.1/contrib/llvm/include/llvm/MC/
H A DMCContext.h191 std::string SectionName; member
197 : SectionName(SectionName), GroupName(GroupName), UniqueID(UniqueID) { in ELFSectionKey()
201 if (SectionName != Other.SectionName)
202 return SectionName < Other.SectionName;
210 std::string SectionName; member
217 : SectionName(SectionName), GroupName(GroupName), in COFFSectionKey()
221 if (SectionName != Other.SectionName)
222 return SectionName < Other.SectionName;
238 : SectionName(SectionName), GroupName(GroupName), UniqueID(UniqueID) { in WasmSectionKey()
242 if (SectionName != Other.SectionName)
[all …]
H A DMCSectionMachO.h27 char SectionName[16]; // Not necessarily null terminated! variable
50 if (SectionName[15]) in getSectionName()
51 return StringRef(SectionName, 16); in getSectionName()
52 return StringRef(SectionName); in getSectionName()
H A DMCSectionWasm.h31 StringRef SectionName; variable
49 : MCSection(SV_Wasm, K, Begin), SectionName(Section), UniqueID(UniqueID), in MCSectionWasm()
52 void setSectionName(StringRef Name) { SectionName = Name; } in setSectionName()
61 StringRef getSectionName() const { return SectionName; } in getSectionName()
H A DMCSectionELF.h31 StringRef SectionName; variable
57 : MCSection(SV_ELF, K, Begin), SectionName(Section), Type(type), in MCSectionELF()
64 void setSectionName(StringRef Name) { SectionName = Name; } in setSectionName()
73 StringRef getSectionName() const { return SectionName; } in getSectionName()
H A DMCSectionCOFF.h29 StringRef SectionName; variable
58 : MCSection(SV_COFF, K, Begin), SectionName(Section), in MCSectionCOFF()
72 StringRef getSectionName() const { return SectionName; } in getSectionName()
/freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/MCTargetDesc/
H A DAMDGPUMCAsmInfo.cpp42 bool AMDGPUMCAsmInfo::shouldOmitSectionDirective(StringRef SectionName) const { in shouldOmitSectionDirective()
43 return SectionName == ".hsatext" || SectionName == ".hsadata_global_agent" || in shouldOmitSectionDirective()
44 SectionName == ".hsadata_global_program" || in shouldOmitSectionDirective()
45 SectionName == ".hsarodata_readonly_agent" || in shouldOmitSectionDirective()
46 MCAsmInfo::shouldOmitSectionDirective(SectionName); in shouldOmitSectionDirective()
/freebsd-12.1/contrib/llvm/lib/MC/MCParser/
H A DELFAsmParser.cpp247 SectionName = getTok().getIdentifier(); in ParseSectionName()
484 return SectionName.startswith(Prefix) || SectionName == Prefix.drop_back(); in hasPrefix()
488 StringRef SectionName; in ParseSectionArguments() local
490 if (ParseSectionName(SectionName)) in ParseSectionArguments()
503 if (hasPrefix(SectionName, ".rodata.") || SectionName == ".rodata1") in ParseSectionArguments()
505 else if (SectionName == ".fini" || SectionName == ".init" || in ParseSectionArguments()
506 hasPrefix(SectionName, ".text.")) in ParseSectionArguments()
508 else if (hasPrefix(SectionName, ".data.") || SectionName == ".data1" || in ParseSectionArguments()
509 hasPrefix(SectionName, ".bss.") || in ParseSectionArguments()
515 hasPrefix(SectionName, ".tbss.")) in ParseSectionArguments()
[all …]
H A DCOFFAsmParser.cpp51 bool ParseSectionName(StringRef &SectionName);
52 bool ParseSectionFlags(StringRef SectionName, StringRef FlagsString,
174 bool COFFAsmParser::ParseSectionFlags(StringRef SectionName, in ParseSectionFlags() argument
275 MCSectionCOFF::isImplicitlyDiscardable(SectionName)) in ParseSectionFlags()
339 bool COFFAsmParser::ParseSectionName(StringRef &SectionName) { in ParseSectionName() argument
343 SectionName = getTok().getIdentifier(); in ParseSectionName()
364 StringRef SectionName; in ParseDirectiveSection() local
366 if (ParseSectionName(SectionName)) in ParseDirectiveSection()
382 if (ParseSectionFlags(SectionName, FlagsStr, &Flags)) in ParseDirectiveSection()
418 ParseSectionSwitch(SectionName, Flags, Kind, COMDATSymName, Type); in ParseDirectiveSection()
/freebsd-12.1/contrib/llvm/tools/llvm-readobj/
H A DObjDumper.cpp47 StringRef SectionName; in getSecNameOrIndexAsSecRef() local
49 if (std::error_code E = SecRef.getName(SectionName)) in getSecNameOrIndexAsSecRef()
52 if (SectionName == SecName) in getSecNameOrIndexAsSecRef()
70 StringRef SectionName; in printSectionAsString() local
72 if (std::error_code E = Section.getName(SectionName)) in printSectionAsString()
74 W.startLine() << "String dump of section '" << SectionName << "':\n"; in printSectionAsString()
104 StringRef SectionName; in printSectionAsHex() local
106 if (std::error_code E = Section.getName(SectionName)) in printSectionAsHex()
108 W.startLine() << "Hex dump of section '" << SectionName << "':\n"; in printSectionAsHex()
H A DDwarfCFIEHPrinter.h88 auto SectionName = Obj->getSectionName(&Shdr); in printUnwindInformation() local
89 if (Error E = SectionName.takeError()) in printUnwindInformation()
92 if (*SectionName == ".eh_frame") in printUnwindInformation()
109 auto SectionName = Obj->getSectionName(EHFrameHdrShdr); in printEHFrameHdr() local
110 if (Error E = SectionName.takeError()) in printEHFrameHdr()
113 W.printString("Corresponding Section", *SectionName); in printEHFrameHdr()
H A DCOFFDumper.cpp908 StringRef SectionName; in printCodeViewDebugInfo() local
909 error(S.getName(SectionName)); in printCodeViewDebugInfo()
912 if (SectionName == ".debug$T" || SectionName == ".debug$P") in printCodeViewDebugInfo()
916 StringRef SectionName; in printCodeViewDebugInfo() local
917 error(S.getName(SectionName)); in printCodeViewDebugInfo()
918 if (SectionName == ".debug$S") in printCodeViewDebugInfo()
1233 StringRef SectionName; in mergeCodeViewTypes() local
1405 StringRef SectionName; in getSectionName() local
1408 return SectionName; in getSectionName()
1434 StringRef SectionName = ""; in printSymbol() local
[all …]
/freebsd-12.1/contrib/llvm/lib/DebugInfo/DWARF/
H A DDWARFListTable.cpp27 SectionName.data(), *OffsetPtr); in extract()
33 SectionName.data(), HeaderOffset); in extract()
40 SectionName.data(), HeaderOffset, length()); in extract()
46 SectionName.data(), length(), HeaderOffset); in extract()
58 SectionName.data(), HeaderData.Version, HeaderOffset); in extract()
63 SectionName.data(), HeaderOffset, HeaderData.AddrSize); in extract()
68 SectionName.data(), HeaderOffset, HeaderData.SegSize); in extract()
74 SectionName.data(), HeaderOffset, HeaderData.OffsetEntryCount); in extract()
/freebsd-12.1/contrib/llvm/include/llvm/DebugInfo/DWARF/
H A DDWARFListTable.h51 uint32_t *OffsetPtr, StringRef SectionName,
86 StringRef SectionName; variable
92 DWARFListTableHeader(StringRef SectionName, StringRef ListTypeString) in DWARFListTableHeader() argument
93 : SectionName(SectionName), ListTypeString(ListTypeString) {} in DWARFListTableHeader()
103 StringRef getSectionName() const { return SectionName; } in getSectionName()
138 DWARFListTableBase(StringRef SectionName, StringRef HeaderString, in DWARFListTableBase() argument
140 : Header(SectionName, ListTypeString), HeaderString(HeaderString) {} in DWARFListTableBase()
214 StringRef SectionName, in extract() argument
232 SectionName.data(), HeaderOffset); in extract()
/freebsd-12.1/contrib/llvm/lib/MC/
H A DMCAsmInfo.cpp119 bool MCAsmInfo::shouldOmitSectionDirective(StringRef SectionName) const { in shouldOmitSectionDirective()
121 return SectionName == ".text" || SectionName == ".data" || in shouldOmitSectionDirective()
122 (SectionName == ".bss" && !usesELFSectionDirectiveForBSS()); in shouldOmitSectionDirective()
/freebsd-12.1/contrib/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyldChecker.cpp347 StringRef SectionName; in evalStubAddr() local
366 FileName, SectionName, Symbol, PCtx.IsInsideLoad); in evalStubAddr()
392 StringRef SectionName; in evalSectionAddr() local
403 FileName, SectionName, PCtx.IsInsideLoad); in evalSectionAddr()
834 findSectionAddrInfo(FileName, SectionName); in getSectionAddr()
858 findSectionAddrInfo(FileName, SectionName); in getStubAddrFor()
915 StringRef SectionName = Section.getName(); in registerSection() local
917 Stubs[FileName][SectionName].SectionID = SectionID; in registerSection()
925 StringRef SectionName = Section.getName(); in registerStubMap() local
927 Stubs[FileName][SectionName].SectionID = SectionID; in registerStubMap()
[all …]
H A DRuntimeDyldCheckerImpl.h54 StringRef SectionName) const;
57 StringRef SectionName,
61 StringRef SectionName,
/freebsd-12.1/contrib/llvm/include/llvm/Object/
H A DIRSymtab.h126 Str SectionName; member
171 StringRef SectionName; member
223 StringRef getSectionName() const { return SectionName; } in getSectionName()
309 SectionName = R->str(UncI->SectionName); in read()
312 SectionName = ""; in read()
/freebsd-12.1/contrib/llvm/tools/lli/
H A DRemoteJITUtils.h93 StringRef SectionName) override { in allocateCodeSection() argument
94 return MemMgr->allocateCodeSection(Size, Alignment, SectionID, SectionName); in allocateCodeSection()
98 unsigned SectionID, StringRef SectionName, in allocateDataSection() argument
100 return MemMgr->allocateDataSection(Size, Alignment, SectionID, SectionName, in allocateDataSection()
/freebsd-12.1/contrib/llvm/tools/lld/COFF/
H A DICF.cpp135 if (!C->SectionName.startswith(".debug") && in assocEquals()
136 C->SectionName != ".gfids$y" && C->SectionName != ".gljmp$y") in assocEquals()
170 A->SectionName == B->SectionName && in equalsConstant()
H A DChunks.h162 StringRef getSectionName() const override { return SectionName; } in getSectionName()
189 return SectionName == ".debug" || SectionName.startswith(".debug$"); in isCodeView()
194 return SectionName.startswith(".debug_") || SectionName == ".eh_frame"; in isDWARF()
237 StringRef SectionName;
/freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/
H A DAMDGPUTargetObjectFile.cpp36 StringRef SectionName = GO->getSection(); in getExplicitSectionGlobal() local
37 if (SectionName.startswith(".AMDGPU.comment.")) in getExplicitSectionGlobal()
/freebsd-12.1/contrib/llvm/lib/ExecutionEngine/
H A DExecutionEngineBindings.cpp331 StringRef SectionName) override;
334 unsigned SectionID, StringRef SectionName,
364 StringRef SectionName) { in allocateCodeSection() argument
366 SectionName.str().c_str()); in allocateCodeSection()
371 StringRef SectionName, bool isReadOnly) { in allocateDataSection() argument
373 SectionName.str().c_str(), in allocateDataSection()
/freebsd-12.1/contrib/llvm/tools/llvm-nm/
H A Dllvm-nm.cpp507 StringRef SectionName; in darwinPrintSymbol() local
508 MachO->getSectionName(Ref, SectionName); in darwinPrintSymbol()
970 StringRef SectionName; in getSymbolNMTypeChar() local
971 Obj.getSectionName(Section, SectionName); in getSymbolNMTypeChar()
972 if (SectionName.startswith(".idata")) in getSymbolNMTypeChar()
1032 StringRef SectionName; in getSymbolNMTypeChar() local
1033 Obj.getSectionName(Ref, SectionName); in getSymbolNMTypeChar()
1122 StringRef SectionName; in getNsectForSegSect() local
1123 Obj->getSectionName(Ref, SectionName); in getNsectForSegSect()
1327 Section.getName(SectionName); in dumpSymbolNamesFromObject()
[all …]
/freebsd-12.1/contrib/llvm/include/llvm/ObjectYAML/
H A DCodeViewYAMLTypes.h55 StringRef SectionName);
57 StringRef SectionName);
/freebsd-12.1/contrib/llvm/tools/llvm-rtdyld/
H A Dllvm-rtdyld.cpp152 StringRef SectionName) override;
154 unsigned SectionID, StringRef SectionName,
222 StringRef SectionName) { in allocateCodeSection() argument
225 << Alignment << ", SectionName = " << SectionName << ")\n"; in allocateCodeSection()
245 StringRef SectionName, in allocateDataSection() argument
249 << Alignment << ", SectionName = " << SectionName << ")\n"; in allocateDataSection()
516 std::string SectionName = SectionIDStr.substr(ComaIdx + 1); in applySpecificSectionMappings() local
521 Checker.getSectionAddr(FileName, SectionName, true); in applySpecificSectionMappings()

1234