| /freebsd/contrib/llvm-project/llvm/tools/llvm-dwarfutil/ |
| H A D | DebugInfoLinker.h | 20 inline bool isDebugSection(StringRef SecName) { in isDebugSection() argument 21 return SecName.starts_with(".debug") || SecName.starts_with(".zdebug") || in isDebugSection() 22 SecName == ".gdb_index"; in isDebugSection()
|
| H A D | llvm-dwarfutil.cpp | 171 Expected<StringRef> SecName = Sec.getName(); in setConfigToAddNewDebugSections() local 172 if (!SecName) in setConfigToAddNewDebugSections() 173 return SecName.takeError(); in setConfigToAddNewDebugSections() 175 if (isDebugSection(*SecName)) { in setConfigToAddNewDebugSections() 181 *SecName, MemoryBuffer::getMemBuffer(*SecData, *SecName, false))); in setConfigToAddNewDebugSections()
|
| H A D | DebugInfoLinker.cpp | 226 static bool knownByDWARFUtil(StringRef SecName) { in knownByDWARFUtil() argument 227 return llvm::StringSwitch<bool>(SecName) in knownByDWARFUtil() 252 getAcceleratorTableKind(StringRef SecName) { in getAcceleratorTableKind() argument 253 return llvm::StringSwitch<std::optional<AccelTableKind>>(SecName) in getAcceleratorTableKind()
|
| /freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/Shared/ |
| H A D | ObjectFormats.cpp | 41 bool isELFInitializerSection(StringRef SecName) { in isELFInitializerSection() argument 43 StringRef Name = SecName; in isELFInitializerSection() 50 bool isCOFFInitializerSection(StringRef SecName) { in isCOFFInitializerSection() argument 51 return SecName.starts_with(".CRT"); in isCOFFInitializerSection()
|
| H A D | MachOObjectFormat.cpp | 65 bool isMachOInitializerSection(StringRef SegName, StringRef SecName) { in isMachOInitializerSection() argument 70 if (InitSection.starts_with(SegName) && InitSection.substr(7) == SecName) in isMachOInitializerSection()
|
| /freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/ |
| H A D | MachO.cpp | 263 if (auto SecName = Sec.getName()) { in operator ()() local 264 if (*SecName == "__objc_classlist" || *SecName == "__objc_protolist" || in operator ()() 265 *SecName == "__objc_clsrolist" || *SecName == "__objc_catlist" || in operator ()() 266 *SecName == "__objc_catlist2" || *SecName == "__objc_nlcatlist" || in operator ()() 267 (SegName == "__TEXT" && (*SecName).starts_with("__swift") && in operator ()() 268 *SecName != "__swift_modhash")) { in operator ()() 274 return SecName.takeError(); in operator ()()
|
| H A D | ObjectFileInterface.cpp | 86 auto SecName = cantFail(Obj.getSectionName(Sec.getRawDataRefImpl())); in getMachOObjectFileSymbolInfo() local 87 if (isMachOInitializerSection(SegName, SecName)) { in getMachOObjectFileSymbolInfo() 139 if (auto SecName = Sec.getName()) { in getELFObjectFileSymbolInfo() local 140 if (isELFInitializerSection(*SecName)) { in getELFObjectFileSymbolInfo() 220 if (auto SecName = Sec.getName()) { in getCOFFObjectFileSymbolInfo() local 221 if (isCOFFInitializerSection(*SecName)) { in getCOFFObjectFileSymbolInfo() 226 return SecName.takeError(); in getCOFFObjectFileSymbolInfo()
|
| H A D | DebuggerSupportPlugin.cpp | |
| /freebsd/contrib/llvm-project/llvm/lib/ObjCopy/wasm/ |
| H A D | WasmObjcopy.cpp | 40 static Error dumpSectionToFile(StringRef SecName, StringRef Filename, in dumpSectionToFile() argument 43 if (Sec.Name == SecName) { in dumpSectionToFile() 57 "section '%s' not found", SecName.str().c_str()); in dumpSectionToFile() 115 StringRef SecName; in handleArgs() local 117 std::tie(SecName, FileName) = Flag.split("="); in handleArgs() 119 dumpSectionToFile(SecName, FileName, Config.InputFilename, Obj)) in handleArgs()
|
| /freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/ |
| H A D | DefineExternalSectionStartAndEndSymbols.h | 135 auto [SegName, SecName] = in identifyMachOSectionStartAndEndSymbols() 137 std::string SectionName = (SegName + "," + SecName).str(); in identifyMachOSectionStartAndEndSymbols() 141 auto [SegName, SecName] = in identifyMachOSectionStartAndEndSymbols() 143 std::string SectionName = (SegName + "," + SecName).str(); in identifyMachOSectionStartAndEndSymbols()
|
| /freebsd/contrib/llvm-project/llvm/lib/ObjCopy/MachO/ |
| H A D | MachOObjcopy.cpp | 308 static Error dumpSectionToFile(StringRef SecName, StringRef Filename, in dumpSectionToFile() argument 312 if (Sec->CanonicalName == SecName) { in dumpSectionToFile() 327 "section '%s' not found", SecName.str().c_str()); in dumpSectionToFile() 360 static Expected<Section &> findSection(StringRef SecName, Object &O) { in findSection() argument 362 std::tie(SegName, SecName) = SecName.split(","); in findSection() 374 if (Sec->Segname == SegName && Sec->Sectname == SecName) in findSection() 379 SecName.str().c_str(), SegName.str().c_str()); in findSection() 390 [SecName](const std::unique_ptr<Section> &Sec) { in findSection() 391 return Sec->Sectname == SecName; in findSection() 396 SecName.str().c_str()); in findSection() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/DWARFLinkerParallel/ |
| H A D | OutputSections.cpp | |
| H A D | DWARFEmitterImpl.h | |
| /freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/Debugging/ |
| H A D | DebuggerSupportPlugin.cpp | 138 auto [SegName, SecName] = DSec.GraphSec->getName().split(','); in startSynthesis() 139 DSec.BuilderSec = &Seg->addSection(SecName, SegName); in startSynthesis() 147 DebugSectionMap[SecName.drop_front(2)] = // drop "__" prefix. in startSynthesis() 149 if (SecName == "__debug_line") in startSynthesis() 207 auto [SegName, SecName] = NDSP.GraphSec->getName().split(','); in startSynthesis() 208 NDSP.BuilderSec = &Seg->addSection(SecName, SegName); in startSynthesis()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/BPF/ |
| H A D | BTFDebug.cpp | 474 BTFKindDataSec::BTFKindDataSec(AsmPrinter *AsmPrt, std::string SecName) in BTFKindDataSec() argument 475 : Asm(AsmPrt), Name(SecName) { in BTFKindDataSec() 1522 StringRef SecName; in processGlobals() local 1529 SecName = Global.hasSection() ? Global.getSection() : ""; in processGlobals() 1531 SecName = ".bss"; in processGlobals() 1535 SecName = Sec->getName(); in processGlobals() 1538 if (ProcessingMapDef != SecName.starts_with(".maps")) in processGlobals() 1544 if (SecName == ".rodata" && Global.hasPrivateLinkage() && in processGlobals() 1545 DataSecEntries.find(SecName) == DataSecEntries.end()) { in processGlobals() 1548 DataSecEntries[std::string(SecName)] = in processGlobals() [all …]
|
| H A D | BPFCheckAndAdjustIR.cpp | 520 SmallString<16> SecName; in insertASpaceCasts() local 521 raw_svector_ostream OS(SecName); in insertASpaceCasts() 523 G.setSection(SecName); in insertASpaceCasts()
|
| /freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/ |
| H A D | ELFEmitter.cpp | 226 StringRef SecName, ELFYAML::Section *YAMLSec); 409 std::string SecName = ("." + DebugSecName).str(); in ELFState() local 412 if (SectionHeaderStringTableName == SecName) in ELFState() 413 reportError("cannot use '" + SecName + in ELFState() 416 ImplicitSections.insert(StringRef(SecName).copy(StringAlloc)); in ELFState() 425 for (StringRef SecName : ImplicitSections) { in ELFState() local 426 if (DocSections.count(SecName)) in ELFState() 431 Sec->Name = SecName; in ELFState() 433 if (SecName == SectionHeaderStringTableName) in ELFState() 435 else if (SecName == ".dynsym") in ELFState() [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/DWARFLinkerParallel/ |
| H A D | DWARFLinker.h | |
| /freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/ |
| H A D | MachOBuilder.h | 231 Section(MachOBuilder &Builder, StringRef SecName, StringRef SegName) 234 assert(SecName.size() <= 16 && "SecName too long"); 236 memcpy(this->sectname, SecName.data(), SecName.size()); 276 Section &addSection(StringRef SecName, StringRef SegName) { 277 Sections.push_back(std::make_unique<Section>(Builder, SecName, SegName));
|
| /freebsd/contrib/llvm-project/llvm/lib/DebugInfo/BTF/ |
| H A D | BTFParser.cpp | 310 StringRef SecName = findString(SecNameOff); 311 std::optional<SectionRef> Sec = Ctx.findSection(SecName); 315 return Err("") << "can't find section '" << SecName 353 StringRef SecName = findString(SecNameOff); 354 std::optional<SectionRef> Sec = Ctx.findSection(SecName); 187 StringRef SecName = findString(SecNameOff); parseLineInfo() local
|
| /freebsd/contrib/llvm-project/llvm/tools/llvm-objdump/ |
| H A D | ELFDump.cpp | 148 auto SecName = EF.getSectionName(*SymSec); in getRelocationValueString() local 149 if (!SecName) in getRelocationValueString() 150 return SecName.takeError(); in getRelocationValueString() 151 Fmt << *SecName; in getRelocationValueString()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/Shared/ |
| H A D | ObjectFormats.h | 38 LLVM_ABI bool isELFInitializerSection(StringRef SecName);
|
| H A D | MachOObjectFormat.h | 61 LLVM_ABI bool isMachOInitializerSection(StringRef SegName, StringRef SecName);
|
| /freebsd/contrib/llvm-project/llvm/tools/llvm-readobj/ |
| H A D | ObjDumper.cpp | 121 StringRef SecName = unwrapOrError(Obj.getFileName(), SecRef.getName()); in getSectionRefsByNameOrIndex() local 122 auto NameIt = SecNames.find(SecName); in getSectionRefsByNameOrIndex()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/ObjectYAML/ |
| H A D | DWARFEmitter.h | 49 getDWARFEmitterByName(StringRef SecName);
|