| /netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-objcopy/wasm/ |
| H A D | WasmObjcopy.cpp | 23 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 D | BTFDebug.cpp | 352 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 D | BTFDebug.h | 186 BTFKindDataSec(AsmPrinter *AsmPrt, std::string SecName);
|
| /netbsd-src/external/apache2/llvm/dist/llvm/tools/obj2yaml/ |
| H A D | macho2yaml.cpp | 134 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 D | MCMachOStreamer.cpp | 126 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 D | MachOObjcopy.cpp | 255 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 D | ELFObjcopy.cpp | 177 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 D | Object.h | 504 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 D | ELFEmitter.cpp | 211 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 D | DWARFEmitter.cpp | 1008 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 D | WasmEmitter.cpp | 607 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 D | COFFObjcopy.cpp | 233 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 D | ELFDump.cpp | 103 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 D | llvm-objdump.cpp | 252 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 D | ObjDumper.cpp | 71 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 D | DWARFStreamer.cpp | 189 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 D | DWARFEmitter.h | 48 getDWARFEmitterByName(StringRef SecName);
|
| H A D | ELFYAML.h | 77 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 D | DWARFStreamer.h | 80 void emitSectionContents(StringRef SecData, StringRef SecName) override;
|
| H A D | DWARFLinker.h | 110 virtual void emitSectionContents(StringRef SecData, StringRef SecName) = 0;
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/ |
| H A D | SemaAttr.cpp | 275 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 D | RawTypes.h | 79 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 D | llvm-nm.cpp | 1118 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 D | WebAssemblyAsmParser.cpp | 1063 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 D | DbiStreamBuilder.cpp | 365 Entry.SecName = UINT16_MAX; in createSectionMap()
|