/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/Shared/ |
H A D | ObjectFormats.cpp | 81 bool isMachOInitializerSection(StringRef SegName, StringRef SecName) { in isMachOInitializerSection() argument 86 if (InitSection.starts_with(SegName) && InitSection.substr(7) == SecName) in isMachOInitializerSection() 99 bool isELFInitializerSection(StringRef SecName) { in isELFInitializerSection() argument 101 StringRef Name = SecName; in isELFInitializerSection() 108 bool isCOFFInitializerSection(StringRef SecName) { in isCOFFInitializerSection() argument 109 return SecName.starts_with(".CRT"); in isCOFFInitializerSection()
|
/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 | 169 Expected<StringRef> SecName = Sec.getName(); in validateAndSetOptions() 170 if (!SecName) in validateAndSetOptions() 171 return SecName.takeError(); 173 if (isDebugSection(*SecName)) { in setConfigToAddNewDebugSections() 179 *SecName, MemoryBuffer::getMemBuffer(*SecData, *SecName, false))); in setConfigToAddNewDebugSections() 176 Expected<StringRef> SecName = Sec.getName(); setConfigToAddNewDebugSections() local
|
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/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 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()
|
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/ |
H A D | ObjectFileInterface.cpp | 88 auto SecName = cantFail(Obj.getSectionName(Sec.getRawDataRefImpl())); in getMachOObjectFileSymbolInfo() local 89 if (isMachOInitializerSection(SegName, SecName)) { in getMachOObjectFileSymbolInfo() 141 if (auto SecName = Sec.getName()) { in getELFObjectFileSymbolInfo() local 142 if (isELFInitializerSection(*SecName)) { in getELFObjectFileSymbolInfo() 222 if (auto SecName = Sec.getName()) { in getCOFFObjectFileSymbolInfo() local 223 if (isCOFFInitializerSection(*SecName)) { in getCOFFObjectFileSymbolInfo() 228 return SecName.takeError(); in getCOFFObjectFileSymbolInfo()
|
H A D | DebuggerSupportPlugin.cpp |
|
H A D | MachOPlatform.cpp | 1349 for (auto &SecName : DataSections) { in registerObjectPlatformSections() local 1350 if (auto *Sec = G.findSectionByName(SecName)) { in registerObjectPlatformSections() 1353 MachOPlatformSecs.push_back({SecName, R.getRange()}); in registerObjectPlatformSections() 1370 for (auto &SecName : PlatformSections) { in registerObjectPlatformSections() local 1371 auto *Sec = G.findSectionByName(SecName); in registerObjectPlatformSections() 1378 MachOPlatformSecs.push_back({SecName, R.getRange()}); in registerObjectPlatformSections()
|
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/ |
H A D | DefineExternalSectionStartAndEndSymbols.h | 138 auto [SegName, SecName] = in identifyMachOSectionStartAndEndSymbols() 140 std::string SectionName = (SegName + "," + SecName).str(); in identifyMachOSectionStartAndEndSymbols() 144 auto [SegName, SecName] = in identifyMachOSectionStartAndEndSymbols() 146 std::string SectionName = (SegName + "," + SecName).str(); in identifyMachOSectionStartAndEndSymbols()
|
/freebsd/contrib/llvm-project/llvm/lib/ObjCopy/MachO/ |
H A D | MachOObjcopy.cpp | 289 static Error dumpSectionToFile(StringRef SecName, StringRef Filename, in dumpSectionToFile() 293 if (Sec->CanonicalName == SecName) { in dumpSectionToFile() 308 SecName.str().c_str()); in addSection() 341 static Expected<Section &> findSection(StringRef SecName, Object &O) { in findSection() 343 std::tie(SegName, SecName) = SecName.split(","); in findSection() 353 [SecName](const std::unique_ptr<Section> &Sec) { in findSection() 354 return Sec->Sectname == SecName; in findSection() 359 SecName.str().c_str()); in updateSection() 361 assert(FoundSec->get()->CanonicalName == (SegName + "," + SecName) in updateSection() 281 dumpSectionToFile(StringRef SecName,StringRef Filename,Object & Obj) dumpSectionToFile() argument 333 findSection(StringRef SecName,Object & O) findSection() argument [all...] |
/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/ |
H A D | BTFDebug.cpp | 408 BTFKindDataSec::BTFKindDataSec(AsmPrinter *AsmPrt, std::string SecName) in BTFKindDataSec() argument 409 : Asm(AsmPrt), Name(SecName) { in BTFKindDataSec() 1403 StringRef SecName; in processGlobals() local 1410 SecName = Global.hasSection() ? Global.getSection() : ""; in processGlobals() 1412 SecName = ".bss"; in processGlobals() 1416 SecName = Sec->getName(); in processGlobals() 1419 if (ProcessingMapDef != SecName.starts_with(".maps")) in processGlobals() 1425 if (SecName == ".rodata" && Global.hasPrivateLinkage() && in processGlobals() 1426 DataSecEntries.find(std::string(SecName)) == DataSecEntries.end()) { in processGlobals() 1429 DataSecEntries[std::string(SecName)] = in processGlobals() [all …]
|
H A D | BPFCheckAndAdjustIR.cpp | 524 SmallString<16> SecName; in insertASpaceCasts() local 525 raw_svector_ostream OS(SecName); in insertASpaceCasts() 527 G.setSection(SecName); in insertASpaceCasts()
|
/freebsd/contrib/llvm-project/llvm/lib/DWARFLinkerParallel/ |
H A D | OutputSections.cpp |
|
H A D | DWARFEmitterImpl.h |
|
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/Shared/ |
H A D | ObjectFormats.h | 71 bool isMachOInitializerSection(StringRef SegName, StringRef SecName); 74 bool isELFInitializerSection(StringRef SecName);
|
/freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/ |
H A D | ELFEmitter.cpp | 229 StringRef SecName, ELFYAML::Section *YAMLSec); 412 std::string SecName = ("." + DebugSecName).str(); in ELFState() local 415 if (SectionHeaderStringTableName == SecName) in ELFState() 416 reportError("cannot use '" + SecName + in ELFState() 419 ImplicitSections.insert(StringRef(SecName).copy(StringAlloc)); in ELFState() 428 for (StringRef SecName : ImplicitSections) { in ELFState() local 429 if (DocSections.count(SecName)) in ELFState() 434 Sec->Name = SecName; in ELFState() 436 if (SecName == SectionHeaderStringTableName) in ELFState() 438 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 | 236 Section(MachOBuilder &Builder, StringRef SecName, StringRef SegName) 239 assert(SecName.size() <= 16 && "SecName too long"); 241 memcpy(this->sectname, SecName.data(), SecName.size()); 281 Section &addSection(StringRef SecName, StringRef SegName) { 282 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 | 141 auto SecName = EF.getSectionName(*SymSec); in getRelocationValueString() local 142 if (!SecName) in getRelocationValueString() 143 return SecName.takeError(); in getRelocationValueString() 144 Fmt << *SecName; in getRelocationValueString()
|
/freebsd/contrib/llvm-project/llvm/tools/llvm-readobj/ |
H A D | ObjDumper.cpp | 119 StringRef SecName = unwrapOrError(Obj.getFileName(), SecRef.getName()); in getSectionRefsByNameOrIndex() local 120 auto NameIt = SecNames.find(std::string(SecName)); in getSectionRefsByNameOrIndex()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/ObjectYAML/ |
H A D | DWARFEmitter.h | 48 getDWARFEmitterByName(StringRef SecName);
|
/freebsd/contrib/llvm-project/llvm/lib/DWARFLinker/ |
H A D | DWARFStreamer.cpp |
|
/freebsd/contrib/llvm-project/llvm/lib/ObjCopy/ELF/ |
H A D | ELFObjcopy.cpp | 193 static Error dumpSectionToFile(StringRef SecName, StringRef Filename, in dumpSectionToFile() argument 196 if (Sec.Name == SecName) { in dumpSectionToFile() 200 SecName.str().c_str()); in dumpSectionToFile() 214 SecName.str().c_str()); in dumpSectionToFile()
|
/freebsd/contrib/llvm-project/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
|