| /freebsd-12.1/contrib/llvm/tools/llvm-readobj/ |
| H A D | ObjDumper.cpp | 36 getSecNameOrIndexAsSecRef(const object::ObjectFile *Obj, StringRef SecName) { in getSecNameOrIndexAsSecRef() argument 38 long SectionIndex = strtol(SecName.data(), &StrPtr, 10); in getSecNameOrIndexAsSecRef() 52 if (SectionName == SecName) in getSecNameOrIndexAsSecRef() 64 StringRef SecName) { in printSectionAsString() argument 66 getSecNameOrIndexAsSecRef(Obj, SecName); in printSectionAsString() 98 StringRef SecName) { in printSectionAsHex() argument 100 getSecNameOrIndexAsSecRef(Obj, SecName); in printSectionAsHex()
|
| H A D | ObjDumper.h | 91 void printSectionAsString(const object::ObjectFile *Obj, StringRef SecName); 92 void printSectionAsHex(const object::ObjectFile *Obj, StringRef SecName);
|
| /freebsd-12.1/contrib/llvm/lib/MC/ |
| H A D | MCMachOStreamer.cpp | 127 StringRef SecName = MSec.getSectionName(); in canGoAfterDWARF() local 129 if (SegName == "__LD" && SecName == "__compact_unwind") in canGoAfterDWARF() 133 if (SecName == "__jump_table") in canGoAfterDWARF() 136 if (SecName == "__pointers") in canGoAfterDWARF() 140 if (SegName == "__TEXT" && SecName == "__eh_frame") in canGoAfterDWARF() 143 if (SegName == "__DATA" && (SecName == "__nl_symbol_ptr" || in canGoAfterDWARF() 144 SecName == "__thread_ptr")) in canGoAfterDWARF()
|
| /freebsd-12.1/contrib/llvm/tools/llvm-objcopy/ELF/ |
| H A D | ELFObjcopy.cpp | 184 static Error dumpSectionToFile(StringRef SecName, StringRef Filename, in dumpSectionToFile() argument 187 if (Sec.Name == SecName) { in dumpSectionToFile() 189 return make_error<StringError>("Can't dump section \"" + SecName + in dumpSectionToFile() 503 StringRef SecName = SecPair.first; in handleArgs() local 514 Obj.addSection<OwnedDataSection>(SecName, Data); in handleArgs() 515 if (SecName.startswith(".note") && SecName != ".note.GNU-stack") in handleArgs() 523 StringRef SecName = SecPair.first; in handleArgs() local 525 if (Error E = dumpSectionToFile(SecName, File, Obj)) in handleArgs()
|
| H A D | Object.h | 349 OwnedDataSection(StringRef SecName, ArrayRef<uint8_t> Data) in OwnedDataSection() argument 351 Name = SecName.str(); in OwnedDataSection()
|
| /freebsd-12.1/contrib/llvm/tools/lld/COFF/ |
| H A D | PDB.cpp | 321 StringRef SecName) { in consumeDebugMagic() argument 324 fatal(SecName + " too short"); in consumeDebugMagic() 326 fatal(SecName + " has an invalid magic"); in consumeDebugMagic() 330 static ArrayRef<uint8_t> getDebugSection(ObjFile *File, StringRef SecName) { in getDebugSection() argument 331 if (SectionChunk *Sec = findByName(File->getDebugChunks(), SecName)) in getDebugSection() 332 return consumeDebugMagic(Sec->getContents(), SecName); in getDebugSection()
|
| /freebsd-12.1/contrib/llvm/include/llvm/DebugInfo/PDB/Native/ |
| H A D | RawTypes.h | 80 support::ulittle16_t SecName; // Byte index of the segment or group name member
|
| /freebsd-12.1/contrib/llvm/tools/llvm-objdump/ |
| H A D | llvm-objdump.cpp | 536 auto SecName = EF.getSectionName(SymSec); in getRelocationValueString() local 537 if (!SecName) in getRelocationValueString() 538 return errorToErrorCode(SecName.takeError()); in getRelocationValueString() 539 Target = *SecName; in getRelocationValueString() 1879 StringRef SecName; in printRelocations() local 1880 error(Section.getName(SecName)); in printRelocations() 1881 outs() << "RELOCATION RECORDS FOR [" << SecName << "]:\n"; in printRelocations()
|
| /freebsd-12.1/contrib/llvm/tools/llvm-rtdyld/ |
| H A D | llvm-rtdyld.cpp | 383 StringRef SecName; in printLineInfoForInput() local 384 Sec->getName(SecName); in printLineInfoForInput()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/ |
| H A D | SemaAttr.cpp | 141 PragmaClangSectionKind SecKind, StringRef SecName) { in ActOnPragmaClangSection() argument 166 CSec->SectionName = SecName; in ActOnPragmaClangSection()
|
| H A D | SemaDeclAttr.cpp | 3003 bool Sema::checkSectionName(SourceLocation LiteralLoc, StringRef SecName) { in checkSectionName() argument 3004 std::string Error = Context.getTargetInfo().isValidSectionSpecifier(SecName); in checkSectionName()
|
| /freebsd-12.1/contrib/llvm/tools/lld/ELF/ |
| H A D | LinkerScript.cpp | 107 StringRef RegionName, StringRef SecName) { in expandMemoryRegion() argument 111 error("section '" + SecName + "' will not fit in region '" + RegionName + in expandMemoryRegion()
|
| /freebsd-12.1/contrib/llvm/lib/Object/ |
| H A D | COFFObjectFile.cpp | 999 StringRef SecName; in getSection() local 1001 if (std::error_code E = Section.getName(SecName)) in getSection() 1003 if (SecName == SectionName) { in getSection()
|
| H A D | MachOObjectFile.cpp | 1952 StringRef SecName; in getSection() local 1954 if (std::error_code E = Section.getName(SecName)) in getSection() 1956 if (SecName == SectionName) { in getSection()
|
| /freebsd-12.1/contrib/llvm/lib/DebugInfo/PDB/Native/ |
| H A D | DbiStreamBuilder.cpp | 370 Entry.SecName = UINT16_MAX; in createSectionMap()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Parse/ |
| H A D | ParsePragma.cpp | 1821 std::string SecName; in HandlePragma() local 1822 if (!PP.LexStringLiteral(Tok, SecName, "pragma clang section", false)) in HandlePragma() 1826 (SecName.size()? Sema::PragmaClangSectionAction::PCSA_Set : in HandlePragma() 1828 SecKind, SecName); in HandlePragma()
|
| /freebsd-12.1/contrib/llvm/lib/CodeGen/ |
| H A D | TargetLoweringObjectFileImpl.cpp | 1410 StringRef SecName = getCOFFSectionNameForUniqueGlobal(Kind); in getSectionForJumpTable() local 1416 SecName, Characteristics, Kind, COMDATSymName, in getSectionForJumpTable()
|
| /freebsd-12.1/contrib/llvm/tools/llvm-pdbutil/ |
| H A D | DumpOutputStyle.cpp | 1872 fmtle(M.Ovl), fmtle(M.Group), fmtle(M.Frame), fmtle(M.SecName)); in dumpSectionMap()
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/Sema/ |
| H A D | Sema.h | 8361 PragmaClangSectionKind SecKind, StringRef SecName);
|