Home
last modified time | relevance | path

Searched refs:SecName (Results 1 – 25 of 32) sorted by relevance

12

/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-objcopy/wasm/
H A DWasmObjcopy.cpp40 static Error dumpSectionToFile(StringRef SecName, StringRef Filename, in dumpSectionToFile() argument
43 if (Sec.Name == SecName) { in dumpSectionToFile()
57 SecName.str().c_str()); in dumpSectionToFile()
115 StringRef SecName; in handleArgs() local
117 std::tie(SecName, FileName) = Flag.split("="); in handleArgs()
118 if (Error E = dumpSectionToFile(SecName, FileName, Obj)) in handleArgs()
125 StringRef SecName, FileName; in handleArgs() local
126 std::tie(SecName, FileName) = Flag.split("="); in handleArgs()
133 Sec.Name = SecName; in handleArgs()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/BPF/
H A DBTFDebug.cpp353 : Asm(AsmPrt), Name(SecName) { in BTFKindDataSec()
1143 StringRef SecName; in processGlobals() local
1145 SecName = Global.getSection(); in processGlobals()
1149 SecName = ".rodata"; in processGlobals()
1154 if (ProcessingMapDef != SecName.startswith(".maps")) in processGlobals()
1166 DataSecEntries[std::string(SecName)] = in processGlobals()
1180 if (SecName.startswith(".maps")) in processGlobals()
1216 if (SecName.empty()) in processGlobals()
1221 DataSecEntries[std::string(SecName)] = in processGlobals()
1310 StringRef SecName = F->getSection(); in processFuncPrototypes() local
[all …]
H A DBTFDebug.h186 BTFKindDataSec(AsmPrinter *AsmPrt, std::string SecName);
/freebsd-13.1/contrib/llvm-project/llvm/lib/MC/
H A DMCMachOStreamer.cpp126 StringRef SecName = MSec.getName(); in canGoAfterDWARF() local
128 if (SegName == "__LD" && SecName == "__compact_unwind") in canGoAfterDWARF()
132 if (SecName == "__jump_table") in canGoAfterDWARF()
135 if (SecName == "__pointers") in canGoAfterDWARF()
139 if (SegName == "__TEXT" && SecName == "__eh_frame") in canGoAfterDWARF()
142 if (SegName == "__DATA" && (SecName == "__nl_symbol_ptr" || in canGoAfterDWARF()
143 SecName == "__thread_ptr")) in canGoAfterDWARF()
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-objcopy/MachO/
H A DMachOObjcopy.cpp257 static Error dumpSectionToFile(StringRef SecName, StringRef Filename, in dumpSectionToFile() argument
261 if (Sec->CanonicalName == SecName) { in dumpSectionToFile()
276 SecName.str().c_str()); in dumpSectionToFile()
279 static Error addSection(StringRef SecName, StringRef Filename, Object &Obj) { in addSection() argument
286 std::pair<StringRef, StringRef> Pair = SecName.split(','); in addSection()
362 StringRef SecName = SecPair.first; in handleArgs() local
364 if (Error E = isValidMachOCannonicalName(SecName)) in handleArgs()
366 if (Error E = addSection(SecName, File, Obj)) in handleArgs()
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-objcopy/ELF/
H A DELFObjcopy.cpp177 static Error dumpSectionToFile(StringRef SecName, StringRef Filename, in dumpSectionToFile() argument
180 if (Sec.Name == SecName) { in dumpSectionToFile()
184 SecName.str().c_str()); in dumpSectionToFile()
198 SecName.str().c_str()); in dumpSectionToFile()
668 StringRef SecName = SecPair.first; in handleArgs() local
679 Obj.addSection<OwnedDataSection>(SecName, Data); in handleArgs()
680 if (SecName.startswith(".note") && SecName != ".note.GNU-stack") in handleArgs()
H A DObject.h504 OwnedDataSection(StringRef SecName, ArrayRef<uint8_t> Data) in OwnedDataSection() argument
506 Name = SecName.str(); in OwnedDataSection()
512 OwnedDataSection(const Twine &SecName, uint64_t SecAddr, uint64_t SecFlags, in OwnedDataSection() argument
514 Name = SecName.str(); in OwnedDataSection()
/freebsd-13.1/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DELFEmitter.cpp408 reportError("cannot use '" + SecName + in ELFState()
420 for (StringRef SecName : ImplicitSections) { in ELFState() local
421 if (DocSections.count(SecName)) in ELFState()
426 Sec->Name = SecName; in ELFState()
430 else if (SecName == ".dynsym") in ELFState()
432 else if (SecName == ".symtab") in ELFState()
659 if (SecName == ".strtab") in initImplicitHeader()
661 else if (SecName == ".dynstr") in initImplicitHeader()
665 else if (SecName == ".symtab") in initImplicitHeader()
667 else if (SecName == ".dynsym") in initImplicitHeader()
[all …]
H A DDWARFEmitter.cpp1008 DWARFYAML::getDWARFEmitterByName(StringRef SecName) { in getDWARFEmitterByName() argument
1011 std::function<Error(raw_ostream &, const DWARFYAML::Data &)>>(SecName) in getDWARFEmitterByName()
1028 SecName + " is not supported"); in getDWARFEmitterByName()
1073 for (StringRef SecName : DI.getNonEmptySectionNames()) in emitDebugSections() local
1075 emitDebugSectionImpl(DI, SecName, DebugSections)); in emitDebugSections()
H A DWasmEmitter.cpp607 StringRef SecName = ""; in writeWasm() local
609 SecName = S->Name; in writeWasm()
610 if (!Checker.isValidSectionOrder(Sec->Type, SecName)) { in writeWasm()
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-objcopy/COFF/
H A DCOFFObjcopy.cpp233 StringRef SecName, FileName; in handleArgs() local
234 std::tie(SecName, FileName) = Flag.split("="); in handleArgs()
242 Obj, SecName, in handleArgs()
/freebsd-13.1/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DMangling.cpp159 auto SecName = cantFail(MachOObj.getSectionName(Sec.getRawDataRefImpl())); in getObjectSymbolInfo() local
160 if (MachOPlatform::isInitializerSection(SegName, SecName)) { in getObjectSymbolInfo()
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-objdump/
H A DELFDump.cpp103 auto SecName = EF.getSectionName(*SymSec); in getRelocationValueString() local
104 if (!SecName) in getRelocationValueString()
105 return SecName.takeError(); in getRelocationValueString()
106 Fmt << *SecName; in getRelocationValueString()
H A Dllvm-objdump.cpp252 StringRef SecName = *SecNameOrErr; in checkSectionFilter() local
256 if (!SecName.empty()) in checkSectionFilter()
257 FoundSectionSet.insert(SecName); in checkSectionFilter()
261 return {/*Keep=*/is_contained(FilterSections, SecName), in checkSectionFilter()
1745 StringRef SecName = unwrapOrError(P.first.getName(), Obj->getFileName()); in printRelocations() local
1746 outs() << "\nRELOCATION RECORDS FOR [" << SecName << "]:\n"; in printRelocations()
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-readobj/
H A DObjDumper.cpp90 StringRef SecName = unwrapOrError(Obj.getFileName(), SecRef.getName()); in getSectionRefsByNameOrIndex() local
91 auto NameIt = SecNames.find(std::string(SecName)); in getSectionRefsByNameOrIndex()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ObjectYAML/
H A DDWARFEmitter.h48 getDWARFEmitterByName(StringRef SecName);
H A DELFYAML.h77 StringRef SecName) { in LLVM_YAML_STRONG_TYPEDEF()
104 if (SecName == ".debug_str") in LLVM_YAML_STRONG_TYPEDEF()
/freebsd-13.1/contrib/llvm-project/llvm/lib/DWARFLinker/
H A DDWARFStreamer.cpp189 void DwarfStreamer::emitSectionContents(StringRef SecData, StringRef SecName) { in emitSectionContents() argument
191 StringSwitch<MCSection *>(SecName) in emitSectionContents()
723 MCSection *Sec, StringRef SecName, const CompileUnit &Unit, in emitPubSectionForUnit() argument
730 MCSymbol *BeginLabel = Asm->createTempSymbol("pub" + SecName + "_begin"); in emitPubSectionForUnit()
731 MCSymbol *EndLabel = Asm->createTempSymbol("pub" + SecName + "_end"); in emitPubSectionForUnit()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/DWARFLinker/
H A DDWARFStreamer.h80 void emitSectionContents(StringRef SecData, StringRef SecName) override;
H A DDWARFLinker.h110 virtual void emitSectionContents(StringRef SecData, StringRef SecName) = 0;
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaAttr.cpp275 StringRef SecName) { in ActOnPragmaClangSection() argument
306 if (llvm::Error E = isValidSectionSpecifier(SecName)) { in ActOnPragmaClangSection()
313 if (UnifySection(SecName, SectionFlags, PragmaLoc)) in ActOnPragmaClangSection()
317 CSec->SectionName = std::string(SecName); in ActOnPragmaClangSection()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/DebugInfo/PDB/Native/
H A DRawTypes.h79 support::ulittle16_t SecName; // Byte index of the segment or group name member
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-nm/
H A Dllvm-nm.cpp1003 StringRef &SecName) { in getNMSectionTagAndName() argument
1008 SecName = "*ABS*"; in getNMSectionTagAndName()
1010 SecName = "*COM*"; in getNMSectionTagAndName()
1012 SecName = "*UND*"; in getNMSectionTagAndName()
1029 SecName = *NameOrErr; in getNMSectionTagAndName()
/freebsd-13.1/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/
H A DDbiStreamBuilder.cpp365 Entry.SecName = UINT16_MAX; in createSectionMap()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/WebAssembly/AsmParser/
H A DWebAssemblyAsmParser.cpp1097 auto SecName = ".text." + SymName; in doBeforeLabelEmit() local
1107 getContext().getWasmSection(SecName, SectionKind::getText(), 0, Group, in doBeforeLabelEmit()

12