Home
last modified time | relevance | path

Searched refs:SecName (Results 1 – 19 of 19) sorted by relevance

/freebsd-12.1/contrib/llvm/tools/llvm-readobj/
H A DObjDumper.cpp36 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 DObjDumper.h91 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 DMCMachOStreamer.cpp127 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 DELFObjcopy.cpp184 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 DObject.h349 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 DPDB.cpp321 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 DRawTypes.h80 support::ulittle16_t SecName; // Byte index of the segment or group name member
/freebsd-12.1/contrib/llvm/tools/llvm-objdump/
H A Dllvm-objdump.cpp536 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 Dllvm-rtdyld.cpp383 StringRef SecName; in printLineInfoForInput() local
384 Sec->getName(SecName); in printLineInfoForInput()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaAttr.cpp141 PragmaClangSectionKind SecKind, StringRef SecName) { in ActOnPragmaClangSection() argument
166 CSec->SectionName = SecName; in ActOnPragmaClangSection()
H A DSemaDeclAttr.cpp3003 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 DLinkerScript.cpp107 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 DCOFFObjectFile.cpp999 StringRef SecName; in getSection() local
1001 if (std::error_code E = Section.getName(SecName)) in getSection()
1003 if (SecName == SectionName) { in getSection()
H A DMachOObjectFile.cpp1952 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 DDbiStreamBuilder.cpp370 Entry.SecName = UINT16_MAX; in createSectionMap()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Parse/
H A DParsePragma.cpp1821 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 DTargetLoweringObjectFileImpl.cpp1410 StringRef SecName = getCOFFSectionNameForUniqueGlobal(Kind); in getSectionForJumpTable() local
1416 SecName, Characteristics, Kind, COMDATSymName, in getSectionForJumpTable()
/freebsd-12.1/contrib/llvm/tools/llvm-pdbutil/
H A DDumpOutputStyle.cpp1872 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 DSema.h8361 PragmaClangSectionKind SecKind, StringRef SecName);