Home
last modified time | relevance | path

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

12

/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-objcopy/wasm/
H A DWasmObjcopy.cpp23 static Error dumpSectionToFile(StringRef SecName, StringRef Filename, in dumpSectionToFile() argument
26 if (Sec.Name == SecName) { in dumpSectionToFile()
40 SecName.str().c_str()); in dumpSectionToFile()
45 StringRef SecName; in handleArgs() local
47 std::tie(SecName, FileName) = Flag.split("="); in handleArgs()
48 if (Error E = dumpSectionToFile(SecName, FileName, Obj)) in handleArgs()
59 StringRef SecName, FileName; in handleArgs() local
60 std::tie(SecName, FileName) = Flag.split("="); in handleArgs()
67 Sec.Name = SecName; in handleArgs()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/BPF/
H A DBTFDebug.cpp352 BTFKindDataSec::BTFKindDataSec(AsmPrinter *AsmPrt, std::string SecName) in BTFKindDataSec() argument
353 : Asm(AsmPrt), Name(SecName) { in BTFKindDataSec()
1143 StringRef SecName; in processGlobals() local
1145 SecName = Global.getSection(); in processGlobals()
1149 SecName = ".rodata"; in processGlobals()
1151 SecName = Global.getInitializer()->isZeroValue() ? ".bss" : ".data"; in processGlobals()
1154 if (ProcessingMapDef != SecName.startswith(".maps")) in processGlobals()
1160 if (SecName == ".rodata" && Global.hasPrivateLinkage() && in processGlobals()
1161 DataSecEntries.find(std::string(SecName)) == DataSecEntries.end()) { in processGlobals()
1166 DataSecEntries[std::string(SecName)] = in processGlobals()
[all …]
H A DBTFDebug.h186 BTFKindDataSec(AsmPrinter *AsmPrt, std::string SecName);
/netbsd-src/external/apache2/llvm/dist/llvm/tools/obj2yaml/
H A Dmacho2yaml.cpp134 static Error dumpDebugSection(StringRef SecName, DWARFContext &DCtx, in dumpDebugSection() argument
136 if (SecName == "__debug_abbrev") { in dumpDebugSection()
140 if (SecName == "__debug_aranges") in dumpDebugSection()
142 if (SecName == "__debug_info") { in dumpDebugSection()
146 if (SecName == "__debug_line") { in dumpDebugSection()
150 if (SecName.startswith("__debug_pub")) { in dumpDebugSection()
155 if (SecName == "__debug_ranges") in dumpDebugSection()
157 if (SecName == "__debug_str") in dumpDebugSection()
160 "dumping " + SecName + " section is not supported"); in dumpDebugSection()
178 StringRef SecName(S->sectname); in extractSections() local
[all …]
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-objcopy/MachO/
H A DMachOObjcopy.cpp255 static Error dumpSectionToFile(StringRef SecName, StringRef Filename, in dumpSectionToFile() argument
259 if (Sec->CanonicalName == SecName) { in dumpSectionToFile()
274 SecName.str().c_str()); in dumpSectionToFile()
277 static Error addSection(StringRef SecName, StringRef Filename, Object &Obj) { in addSection() argument
284 std::pair<StringRef, StringRef> Pair = SecName.split(','); in addSection()
360 StringRef SecName = SecPair.first; in handleArgs() local
362 if (Error E = isValidMachOCannonicalName(SecName)) in handleArgs()
364 if (Error E = addSection(SecName, File, Obj)) in handleArgs()
/netbsd-src/external/apache2/llvm/dist/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()
614 StringRef SecName = SecPair.first; in handleArgs() local
625 Obj.addSection<OwnedDataSection>(SecName, Data); in handleArgs()
626 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()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/ObjectYAML/
H A DELFEmitter.cpp211 StringRef SecName, ELFYAML::Section *YAMLSec);
373 std::string SecName = ("." + DebugSecName).str(); in ELFState() local
374 ImplicitSections.push_back(StringRef(SecName).copy(StringAlloc)); in ELFState()
382 for (StringRef SecName : ImplicitSections) { in ELFState() local
383 if (DocSections.count(SecName)) in ELFState()
388 Sec->Name = SecName; in ELFState()
390 if (SecName == ".dynsym") in ELFState()
392 else if (SecName == ".symtab") in ELFState()
612 Elf_Shdr &Header, StringRef SecName, in initImplicitHeader() argument
618 if (SecName == ".symtab") 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()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/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()
1664 StringRef SecName = unwrapOrError(P.first.getName(), Obj->getFileName()); in printRelocations() local
1665 outs() << "\nRELOCATION RECORDS FOR [" << SecName << "]:\n"; in printRelocations()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-readobj/
H A DObjDumper.cpp71 StringRef SecName = unwrapOrError(Obj.getFileName(), SecRef.getName()); in getSectionRefsByNameOrIndex() local
72 auto NameIt = SecNames.find(std::string(SecName)); in getSectionRefsByNameOrIndex()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/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;
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/DebugInfo/PDB/Native/
H A DRawTypes.h79 support::ulittle16_t SecName; // Byte index of the segment or group name member
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-nm/
H A Dllvm-nm.cpp1118 StringRef &SecName) { in getNMSectionTagAndName() argument
1123 SecName = "*ABS*"; in getNMSectionTagAndName()
1125 SecName = "*COM*"; in getNMSectionTagAndName()
1127 SecName = "*UND*"; in getNMSectionTagAndName()
1144 SecName = *NameOrErr; in getNMSectionTagAndName()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/WebAssembly/AsmParser/
H A DWebAssemblyAsmParser.cpp1063 auto SecName = ".text." + SymName; in doBeforeLabelEmit() local
1073 getContext().getWasmSection(SecName, SectionKind::getText(), 0, Group, in doBeforeLabelEmit()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/DebugInfo/PDB/Native/
H A DDbiStreamBuilder.cpp365 Entry.SecName = UINT16_MAX; in createSectionMap()

12