/freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
H A D | Sema.h | 10901 PragmaClangSectionKind SecKind, StringRef SecName);
|
/freebsd/contrib/llvm-project/clang/lib/Parse/ |
H A D | ParsePragma.cpp | 2313 std::string SecName; in HandlePragma() local 2314 if (!PP.LexStringLiteral(Tok, SecName, "pragma clang section", false)) in HandlePragma() 2319 (SecName.size() ? Sema::PragmaClangSectionAction::PCSA_Set in HandlePragma() 2321 SecKind, SecName); in HandlePragma()
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaAttr.cpp | 276 StringRef SecName) { in ActOnPragmaClangSection() argument 307 if (llvm::Error E = isValidSectionSpecifier(SecName)) { in ActOnPragmaClangSection() 314 if (UnifySection(SecName, SectionFlags, PragmaLoc)) in ActOnPragmaClangSection() 318 CSec->SectionName = std::string(SecName); in ActOnPragmaClangSection()
|
H A D | SemaDeclAttr.cpp | 3329 llvm::Error Sema::isValidSectionSpecifier(StringRef SecName) { in isValidSectionSpecifier() argument 3337 return llvm::MCSectionMachO::ParseSectionSpecifier(SecName, Segment, Section, in isValidSectionSpecifier() 3341 bool Sema::checkSectionName(SourceLocation LiteralLoc, StringRef SecName) { in checkSectionName() argument 3342 if (llvm::Error E = isValidSectionSpecifier(SecName)) { in checkSectionName()
|
/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
|
/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/include/llvm/ExecutionEngine/Orc/Shared/ |
H A D | ObjectFormats.h | 68 bool isMachOInitializerSection(StringRef SegName, StringRef SecName); 71 bool isELFInitializerSection(StringRef SecName);
|
/freebsd/contrib/llvm-project/llvm/include/llvm/ObjectYAML/ |
H A D | DWARFEmitter.h | 47 getDWARFEmitterByName(StringRef SecName);
|
H A D | ELFYAML.h | 78 StringRef SecName) { in LLVM_YAML_STRONG_TYPEDEF() 105 if (SecName == ".debug_str") in LLVM_YAML_STRONG_TYPEDEF()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | TargetLoweringObjectFileImpl.cpp | 1818 StringRef SecName = getCOFFSectionNameForUniqueGlobal(Kind); in getSectionForJumpTable() local 1824 SecName, Characteristics, Kind, COMDATSymName, in getSectionForJumpTable()
|
/freebsd/contrib/llvm-project/llvm/lib/DWARFLinker/Classic/ |
H A D | DWARFStreamer.cpp | 1194 MCSection *Sec, StringRef SecName, const CompileUnit &Unit, in emitPubSectionForUnit() argument 1201 MCSymbol *BeginLabel = Asm->createTempSymbol("pub" + SecName + "_begin"); in emitPubSectionForUnit() 1202 MCSymbol *EndLabel = Asm->createTempSymbol("pub" + SecName + "_end"); in emitPubSectionForUnit()
|
/freebsd/contrib/llvm-project/llvm/lib/DWARFLinker/ |
H A D | DWARFLinkerBase.cpp | 16 llvm::dwarf_linker::parseDebugTableName(llvm::StringRef SecName) { in parseDebugTableName() argument 18 SecName.substr(SecName.find_first_not_of("._"))) in parseDebugTableName()
|
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/BTF/ |
H A D | BTFParser.cpp | 310 StringRef SecName = findString(SecNameOff); in parseLineInfo() local 311 std::optional<SectionRef> Sec = Ctx.findSection(SecName); in parseLineInfo() 315 return Err("") << "can't find section '" << SecName in parseLineInfo() 353 StringRef SecName = findString(SecNameOff); in parseRelocInfo() local 354 std::optional<SectionRef> Sec = Ctx.findSection(SecName); in parseRelocInfo()
|
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/ |
H A D | DbiStreamBuilder.cpp | 363 Entry.SecName = UINT16_MAX; in createSectionMap()
|
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/Debugging/ |
H A D | DebuggerSupportPlugin.cpp | 142 auto [SegName, SecName] = DSec.GraphSec->getName().split(','); in startSynthesis() 143 DSec.BuilderSec = &Seg->addSection(SecName, SegName); in startSynthesis() 151 DebugSectionMap[SecName] = in startSynthesis() 153 if (SecName == "__debug_line") in startSynthesis() 201 auto [SegName, SecName] = NDSP.GraphSec->getName().split(','); in startSynthesis() 202 NDSP.BuilderSec = &Seg->addSection(SecName, SegName); in startSynthesis()
|
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/ |
H A D | MachOPlatform.cpp | 1303 for (auto &SecName : DataSections) { in registerObjectPlatformSections() local 1304 if (auto *Sec = G.findSectionByName(SecName)) { in registerObjectPlatformSections() 1307 MachOPlatformSecs.push_back({SecName, R.getRange()}); in registerObjectPlatformSections() 1324 for (auto &SecName : PlatformSections) { in registerObjectPlatformSections() local 1325 auto *Sec = G.findSectionByName(SecName); in registerObjectPlatformSections() 1332 MachOPlatformSecs.push_back({SecName, R.getRange()}); in registerObjectPlatformSections()
|
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()
|
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/Shared/ |
H A D | ObjectFormats.cpp | 77 bool isMachOInitializerSection(StringRef SegName, StringRef SecName) { in isMachOInitializerSection() argument 82 if (InitSection.starts_with(SegName) && InitSection.substr(7) == SecName) in isMachOInitializerSection() 95 bool isELFInitializerSection(StringRef SecName) { in isELFInitializerSection() argument 97 StringRef Name = SecName; in isELFInitializerSection() 104 bool isCOFFInitializerSection(StringRef SecName) { in isCOFFInitializerSection() argument 105 return SecName.starts_with(".CRT"); in isCOFFInitializerSection()
|
/freebsd/contrib/llvm-project/llvm/lib/MC/ |
H A D | MCMachOStreamer.cpp | 142 StringRef SecName = MSec.getName(); in canGoAfterDWARF() local 144 if (SegName == "__LD" && SecName == "__compact_unwind") in canGoAfterDWARF() 148 if (SecName == "__jump_table") in canGoAfterDWARF() 151 if (SecName == "__pointers") in canGoAfterDWARF() 155 if (SegName == "__TEXT" && SecName == "__eh_frame") in canGoAfterDWARF() 158 if (SegName == "__DATA" && (SecName == "__nl_symbol_ptr" || in canGoAfterDWARF() 159 SecName == "__thread_ptr")) in canGoAfterDWARF() 161 if (SegName == "__LLVM" && SecName == "__cg_profile") in canGoAfterDWARF()
|
/freebsd/contrib/llvm-project/llvm/lib/ObjCopy/ELF/ |
H A D | ELFObjcopy.cpp | 191 static Error dumpSectionToFile(StringRef SecName, StringRef Filename, in dumpSectionToFile() argument 194 if (Sec.Name == SecName) { in dumpSectionToFile() 198 SecName.str().c_str()); in dumpSectionToFile() 212 SecName.str().c_str()); in dumpSectionToFile()
|
H A D | ELFObject.cpp | 1771 Expected<StringRef> SecName = ElfFile.getSectionName(Shdr); in readSectionHeaders() local 1772 if (!SecName) in readSectionHeaders() 1773 return SecName.takeError(); in readSectionHeaders() 1774 Sec->Name = SecName->str(); in readSectionHeaders()
|
H A D | ELFObject.h | 515 OwnedDataSection(StringRef SecName, ArrayRef<uint8_t> Data) in OwnedDataSection() argument 517 Name = SecName.str(); in OwnedDataSection() 523 OwnedDataSection(const Twine &SecName, uint64_t SecAddr, uint64_t SecFlags, in OwnedDataSection() argument 525 Name = SecName.str(); in OwnedDataSection()
|
/freebsd/contrib/llvm-project/llvm/lib/ObjCopy/MachO/ |
H A D | MachOObjcopy.cpp | 289 static Error dumpSectionToFile(StringRef SecName, StringRef Filename, in dumpSectionToFile() argument 293 if (Sec->CanonicalName == SecName) { in dumpSectionToFile() 308 SecName.str().c_str()); in dumpSectionToFile() 341 static Expected<Section &> findSection(StringRef SecName, Object &O) { in findSection() argument 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 findSection() 361 assert(FoundSec->get()->CanonicalName == (SegName + "," + SecName).str()); in findSection()
|
/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/Object/ |
H A D | XCOFFObjectFile.cpp | 331 StringRef SecName; in getSymbolType() local 333 SecName = XCOFFObjectFile::toSection64(SecDRIOrErr.get())->getName(); in getSymbolType() 335 SecName = XCOFFObjectFile::toSection32(SecDRIOrErr.get())->getName(); in getSymbolType() 337 if (SecName == SymNameOrError.get()) in getSymbolType()
|