Home
last modified time | relevance | path

Searched refs:Obj (Results 1 – 25 of 293) sorted by relevance

12345678910>>...12

/freebsd/contrib/llvm-project/llvm/lib/BinaryFormat/
H A DMsgPackReader.cpp28 Expected<bool> Reader::read(Object &Obj) { in read() argument
36 Obj.Kind = Type::Nil; in read()
39 Obj.Kind = Type::Boolean; in read()
40 Obj.Bool = true; in read()
43 Obj.Kind = Type::Boolean; in read()
44 Obj.Bool = false; in read()
47 Obj.Kind = Type::Int; in read()
48 return readInt<int8_t>(Obj); in read()
50 Obj.Kind = Type::Int; in read()
51 return readInt<int16_t>(Obj); in read()
[all …]
/freebsd/contrib/llvm-project/llvm/tools/llvm-pdbutil/
H A DPdbYaml.cpp104 void MappingTraits<PdbObject>::mapping(IO &IO, PdbObject &Obj) { in mapping() argument
105 IO.mapOptional("MSF", Obj.Headers); in mapping()
106 IO.mapOptional("StreamSizes", Obj.StreamSizes); in mapping()
107 IO.mapOptional("StreamMap", Obj.StreamMap); in mapping()
108 IO.mapOptional("StringTable", Obj.StringTable); in mapping()
109 IO.mapOptional("PdbStream", Obj.PdbStream); in mapping()
110 IO.mapOptional("DbiStream", Obj.DbiStream); in mapping()
111 IO.mapOptional("TpiStream", Obj.TpiStream); in mapping()
112 IO.mapOptional("IpiStream", Obj.IpiStream); in mapping()
113 IO.mapOptional("PublicsStream", Obj.PublicsStream); in mapping()
[all …]
H A DYAMLOutputStyle.cpp42 : File(File), Out(outs()), Obj(File.getAllocator()) { in YAMLOutputStyle()
80 Obj.DbiStream ? Obj.DbiStream->MachineType : PDB_Machine::Unknown; in dump()
95 Obj.Headers.emplace(); in dumpFileHeaders()
96 Obj.Headers->SuperBlock.NumBlocks = File.getBlockCount(); in dumpFileHeaders()
97 Obj.Headers->SuperBlock.BlockMapAddr = File.getBlockMapIndex(); in dumpFileHeaders()
98 Obj.Headers->SuperBlock.BlockSize = File.getBlockSize(); in dumpFileHeaders()
100 Obj.Headers->DirectoryBlocks.assign(Blocks.begin(), Blocks.end()); in dumpFileHeaders()
101 Obj.Headers->NumDirectoryBlocks = File.getNumDirectoryBlocks(); in dumpFileHeaders()
102 Obj.Headers->SuperBlock.NumDirectoryBytes = File.getNumDirectoryBytes(); in dumpFileHeaders()
103 Obj.Headers->NumStreams = in dumpFileHeaders()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/ObjCopy/COFF/
H A DCOFFWriter.cpp30 for (Section &Sec : Obj.getMutableSections()) { in finalizeRelocTargets()
32 const Symbol *Sym = Obj.findSymbol(R.Target); in finalizeRelocTargets()
44 for (Symbol &Sym : Obj.getMutableSymbols()) { in finalizeSymbolContents()
50 const Section *Sec = Obj.findSection(Sym.TargetSectionId); in finalizeSymbolContents()
68 Sec = Obj.findSection(Sym.AssociativeComdatTargetSectionId); in finalizeSymbolContents()
86 const Symbol *Target = Obj.findSymbol(*Sym.WeakTargetSymbolId); in finalizeSymbolContents()
99 if (Obj.IsPE) in finalizeSymIdxContents()
112 for (Symbol &Sym : Obj.getMutableSymbols()) { in finalizeSymIdxContents()
125 for (Section &Sec : Obj.getMutableSections()) { in finalizeSymIdxContents()
169 for (auto &S : Obj.getMutableSections()) { in layoutSections()
[all …]
H A DCOFFReader.cpp26 Error COFFReader::readExecutableHeaders(Object &Obj) const { in readExecutableHeaders()
28 Obj.Is64 = COFFObj.is64(); in readExecutableHeaders()
32 Obj.IsPE = true; in readExecutableHeaders()
33 Obj.DosHeader = *DH; in readExecutableHeaders()
35 Obj.DosStub = ArrayRef<uint8_t>(reinterpret_cast<const uint8_t *>(&DH[1]), in readExecutableHeaders()
39 Obj.PeHeader = *COFFObj.getPE32PlusHeader(); in readExecutableHeaders()
42 copyPeHeader(Obj.PeHeader, *PE32); in readExecutableHeaders()
44 Obj.BaseOfData = PE32->BaseOfData; in readExecutableHeaders()
47 for (size_t I = 0; I < Obj.PeHeader.NumberOfRvaAndSize; I++) { in readExecutableHeaders()
51 Obj.DataDirectories.emplace_back(*Dir); in readExecutableHeaders()
[all …]
H A DCOFFObjcopy.cpp35 static uint64_t getNextRVA(const Object &Obj) { in getNextRVA() argument
36 if (Obj.getSections().empty()) in getNextRVA()
38 const Section &Last = Obj.getSections().back(); in getNextRVA()
40 Obj.IsPE ? Obj.PeHeader.SectionAlignment : 1); in getNextRVA()
61 static void addSection(Object &Obj, StringRef Name, ArrayRef<uint8_t> Contents, in addSection() argument
70 Sec.Header.VirtualAddress = NeedVA ? getNextRVA(Obj) : 0u; in addSection()
73 Obj.IsPE ? Obj.PeHeader.FileAlignment : 1) in addSection()
82 Obj.addSections(Sec); in addSection()
85 static Error addGnuDebugLink(Object &Obj, StringRef DebugLinkFile) { in addGnuDebugLink() argument
91 addSection(Obj, ".gnu_debuglink", *Contents, in addGnuDebugLink()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/TableGen/
H A DJSONBackend.cpp70 json::Object Obj; in translateInit() local
71 Obj["printable"] = I.getAsString(); in translateInit()
74 Obj["kind"] = "def"; in translateInit()
75 Obj["def"] = Def->getDef()->getName(); in translateInit()
76 return std::move(Obj); in translateInit()
79 Obj["kind"] = "var"; in translateInit()
80 Obj["var"] = Var->getName(); in translateInit()
81 return std::move(Obj); in translateInit()
85 Obj["kind"] = "varbit"; in translateInit()
86 Obj["var"] = Var->getName(); in translateInit()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/ObjCopy/XCOFF/
H A DXCOFFWriter.cpp22 FileSize += Obj.FileHeader.AuxHeaderSize; in finalizeHeaders()
24 FileSize += sizeof(XCOFFSectionHeader32) * Obj.Sections.size(); in finalizeHeaders()
28 for (const Section &Sec : Obj.Sections) { in finalizeSections()
38 assert(Obj.FileHeader.SymbolTableOffset >= FileSize); in finalizeSymbolStringTable()
39 FileSize = Obj.FileHeader.SymbolTableOffset; in finalizeSymbolStringTable()
42 Obj.FileHeader.NumberOfSymTableEntries * XCOFF::SymbolTableEntrySize; in finalizeSymbolStringTable()
44 FileSize += Obj.StringTable.size(); in finalizeSymbolStringTable()
57 memcpy(Ptr, &Obj.FileHeader, sizeof(XCOFFFileHeader32)); in writeHeaders()
61 if (Obj.FileHeader.AuxHeaderSize) { in writeHeaders()
62 memcpy(Ptr, &Obj.OptionalFileHeader, Obj.FileHeader.AuxHeaderSize); in writeHeaders()
[all …]
H A DXCOFFReader.cpp17 Error XCOFFReader::readSections(Object &Obj) const { in readSections()
44 Obj.Sections.push_back(std::move(ReadSec)); in readSections()
49 Error XCOFFReader::readSymbols(Object &Obj) const { in readSymbols()
69 Obj.Symbols.push_back(std::move(ReadSym)); in readSymbols()
75 auto Obj = std::make_unique<Object>(); in create() local
81 Obj->FileHeader = *XCOFFObj.fileHeader32(); in create()
84 Obj->OptionalFileHeader = *XCOFFObj.auxiliaryHeader32(); in create()
86 Obj->Sections.reserve(XCOFFObj.getNumberOfSections()); in create()
87 if (Error E = readSections(*Obj)) in create()
90 Obj->Symbols.reserve(XCOFFObj.getRawNumberOfSymbolTableEntries32()); in create()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DSafeStackLayout.cpp51 void StackLayout::layoutObject(StackObject &Obj) { in layoutObject() argument
56 unsigned Start = AdjustStackOffset(LastRegionEnd, Obj.Size, Obj.Alignment); in layoutObject()
57 unsigned End = Start + Obj.Size; in layoutObject()
58 Regions.emplace_back(Start, End, Obj.Range); in layoutObject()
59 ObjectOffsets[Obj.Handle] = End; in layoutObject()
63 LLVM_DEBUG(dbgs() << "Layout: size " << Obj.Size << ", align " in layoutObject()
64 << Obj.Alignment.value() << ", range " << Obj.Range in layoutObject()
66 assert(Obj.Alignment <= MaxAlignment); in layoutObject()
67 unsigned Start = AdjustStackOffset(0, Obj.Size, Obj.Alignment); in layoutObject()
68 unsigned End = Start + Obj.Size; in layoutObject()
[all …]
/freebsd/contrib/llvm-project/llvm/tools/llvm-readobj/
H A DMachODumper.cpp30 MachODumper(const MachOObjectFile *Obj, ScopedPrinter &Writer) in MachODumper() argument
31 : ObjDumper(Writer, Obj->getFileName()), Obj(Obj) {} in MachODumper()
71 void printRelocation(const MachOObjectFile *Obj, const RelocationRef &Reloc);
73 void printSectionHeaders(const MachOObjectFile *Obj);
75 const MachOObjectFile *Obj; member in __anon9406014d0111::MachODumper
83 std::unique_ptr<ObjDumper> createMachODumper(const object::MachOObjectFile &Obj, in createMachODumper() argument
85 return std::make_unique<MachODumper>(&Obj, Writer); in createMachODumper()
341 static void getSection(const MachOObjectFile *Obj, in getSection() argument
370 getSegment(const MachOObjectFile * Obj,const MachOObjectFile::LoadCommandInfo & L,MachOSegment & Segment) getSegment() argument
402 getSymbol(const MachOObjectFile * Obj,DataRefImpl DRI,MachOSymbol & Symbol) getSymbol() argument
468 printSectionHeaders(const MachOObjectFile * Obj) printSectionHeaders() argument
551 printRelocation(const MachOObjectFile * Obj,const RelocationRef & Reloc) printRelocation() argument
[all...]
H A DCOFFDumper.cpp83 COFFDumper(const llvm::object::COFFObjectFile *Obj, ScopedPrinter &Writer) in COFFDumper() argument
84 : ObjDumper(Writer, Obj->getFileName()), Obj(Obj), Writer(Writer), in COFFDumper()
185 const llvm::object::COFFObjectFile *Obj; member in __anon22f3d4430111::COFFDumper
204 const COFFObjectFile *Obj, StringRef SectionContents) in COFFObjectDumpDelegate() argument
206 Sec = Obj->getCOFFSection(SR); in COFFObjectDumpDelegate()
250 std::unique_ptr<ObjDumper> createCOFFDumper(const object::COFFObjectFile &Obj, in createCOFFDumper() argument
252 return std::make_unique<COFFDumper>(&Obj, Writer); in createCOFFDumper()
263 auto SymI = Obj->symbol_end(); in resolveSymbol()
272 if (SymI == Obj->symbol_end()) in resolveSymbol()
333 const coff_section *Section = Obj->getCOFFSection(Sec); in printBinaryBlockWithRelocs()
[all …]
H A DObjDumper.cpp91 void ObjDumper::printFileSummary(StringRef FileStr, object::ObjectFile &Obj, in printFileSummary() argument
98 W.printString("Format", Obj.getFileFormatName()); in printFileSummary()
99 W.printString("Arch", Triple::getArchTypeName(Obj.getArch())); in printFileSummary()
101 std::string(formatv("{0}bit", 8 * Obj.getBytesInAddress()))); in printFileSummary()
106 getSectionRefsByNameOrIndex(const object::ObjectFile &Obj, in getSectionRefsByNameOrIndex() argument
119 SecIndex = Obj.isELF() ? 0 : 1; in getSectionRefsByNameOrIndex()
120 for (object::SectionRef SecRef : Obj.sections()) { in getSectionRefsByNameOrIndex()
121 StringRef SecName = unwrapOrError(Obj.getFileName(), SecRef.getName()); in getSectionRefsByNameOrIndex()
137 Obj.getFileName()); in getSectionRefsByNameOrIndex()
143 Obj.getFileName()); in getSectionRefsByNameOrIndex()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/
H A DRuntimeDyldMachOI386.h37 const MachOObjectFile &Obj = in processRelocationRef() local
40 Obj.getRelocation(RelI->getRawDataRefImpl()); in processRelocationRef()
41 uint32_t RelType = Obj.getAnyRelocationType(RelInfo); in processRelocationRef()
43 if (Obj.isRelocationScattered(RelInfo)) { in processRelocationRef()
46 return processSECTDIFFRelocation(SectionID, RelI, Obj, in processRelocationRef()
49 return processScatteredVANILLA(SectionID, RelI, Obj, ObjSectionToID); in processRelocationRef()
66 RelocationEntry RE(getRelocationEntry(SectionID, Obj, RelI)); in processRelocationRef()
69 if (auto ValueOrErr = getRelocationValueRef(Obj, RelI, RE, ObjSectionToID)) in processRelocationRef()
127 Error finalizeSection(const ObjectFile &Obj, unsigned SectionID, in finalizeSection() argument
136 return populateJumpTable(cast<MachOObjectFile>(Obj), Section, SectionID); in finalizeSection()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DObjectFileInterface.cpp41 const object::MachOObjectFile &Obj) { in getMachOObjectFileSymbolInfo() argument
44 for (auto &Sym : Obj.symbols()) { in getMachOObjectFileSymbolInfo()
79 for (auto &Sec : Obj.sections()) { in getMachOObjectFileSymbolInfo()
80 auto SecType = Obj.getSectionType(Sec); in getMachOObjectFileSymbolInfo()
82 addInitSymbol(I, ES, Obj.getFileName()); in getMachOObjectFileSymbolInfo()
85 auto SegName = Obj.getSectionFinalSegmentName(Sec.getRawDataRefImpl()); in getMachOObjectFileSymbolInfo()
86 auto SecName = cantFail(Obj.getSectionName(Sec.getRawDataRefImpl())); in getMachOObjectFileSymbolInfo()
88 addInitSymbol(I, ES, Obj.getFileName()); in getMachOObjectFileSymbolInfo()
98 const object::ELFObjectFileBase &Obj) { in getELFObjectFileSymbolInfo() argument
101 for (auto &Sym : Obj.symbols()) { in getELFObjectFileSymbolInfo()
[all …]
H A DMachO.cpp23 static std::string objDesc(const MemoryBufferRef &Obj, const Triple &TT, in objDesc() argument
28 Desc += Obj.getBufferIdentifier(); in objDesc()
33 static Error checkMachORelocatableObject(MemoryBufferRef Obj, in checkMachORelocatableObject() argument
36 StringRef Data = Obj.getBuffer(); in checkMachORelocatableObject()
45 return make_error<StringError>(objDesc(Obj, TT, ObjIsSlice) + in checkMachORelocatableObject()
52 objDesc(Obj, TT, ObjIsSlice) + Triple::getArchTypeName(ObjArch) + in checkMachORelocatableObject()
59 Error checkMachORelocatableObject(MemoryBufferRef Obj, const Triple &TT, in checkMachORelocatableObject() argument
61 StringRef Data = Obj.getBuffer(); in checkMachORelocatableObject()
65 objDesc(Obj, TT, ObjIsSlice) + in checkMachORelocatableObject()
76 std::move(Obj), Magic == MachO::MH_CIGAM, TT, ObjIsSlice); in checkMachORelocatableObject()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/ObjCopy/ELF/
H A DELFObjcopy.cpp57 static bool onlyKeepDWOPred(const Object &Obj, const SectionBase &Sec) { in onlyKeepDWOPred() argument
59 if (&Sec == Obj.SectionNames) in onlyKeepDWOPred()
153 Object &Obj, raw_ostream &Out, in createELFWriter() argument
158 return std::make_unique<ELFWriter<ELF32LE>>(Obj, Out, !Config.StripSections, in createELFWriter()
161 return std::make_unique<ELFWriter<ELF64LE>>(Obj, Out, !Config.StripSections, in createELFWriter()
164 return std::make_unique<ELFWriter<ELF32BE>>(Obj, Out, !Config.StripSections, in createELFWriter()
167 return std::make_unique<ELFWriter<ELF64BE>>(Obj, Out, !Config.StripSections, in createELFWriter()
174 Object &Obj, raw_ostream &Out, in createWriter() argument
178 return std::make_unique<BinaryWriter>(Obj, Out, Config); in createWriter()
180 return std::make_unique<IHexWriter>(Obj, Out, Config.OutputFilename); in createWriter()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DIntrusiveRefCntPtr.h174 T *Obj = nullptr;
180 IntrusiveRefCntPtr(T *obj) : Obj(obj) { retain(); }
181 IntrusiveRefCntPtr(const IntrusiveRefCntPtr &S) : Obj(S.Obj) { retain(); } in IntrusiveRefCntPtr()
182 IntrusiveRefCntPtr(IntrusiveRefCntPtr &&S) : Obj(S.Obj) { S.Obj = nullptr; } in IntrusiveRefCntPtr()
186 IntrusiveRefCntPtr(IntrusiveRefCntPtr<X> S) : Obj(S.get()) {
187 S.Obj = nullptr; in IntrusiveRefCntPtr()
192 IntrusiveRefCntPtr(std::unique_ptr<X> S) : Obj( in ~IntrusiveRefCntPtr()
169 T *Obj = nullptr; global() variable
[all...]
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DUser.cpp148 User *Obj = reinterpret_cast<User *>(End); in allocateFixedOperandUser() local
149 Obj->NumUserOperands = Us; in allocateFixedOperandUser()
150 Obj->HasHungOffUses = false; in allocateFixedOperandUser()
151 Obj->HasDescriptor = DescBytes != 0; in allocateFixedOperandUser()
153 new (Start) Use(Obj); in allocateFixedOperandUser()
160 return Obj; in allocateFixedOperandUser()
177 User *Obj = reinterpret_cast<User *>(HungOffOperandList + 1); in operator new() local
178 Obj->NumUserOperands = 0; in operator new()
179 Obj->HasHungOffUses = true; in operator new()
180 Obj->HasDescriptor = false; in operator new()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DCOFFEmitter.cpp34 COFFParser(COFFYAML::Object &Obj, yaml::ErrorHandler EH) in COFFParser()
35 : Obj(Obj), SectionTableStart(0), SectionTableSize(0), ErrHandler(EH) { in COFFParser()
42 return static_cast<int32_t>(Obj.Sections.size()) > in useBigObj()
46 bool isPE() const { return Obj.OptionalHeader.has_value(); } in isPE()
47 bool is64Bit() const { return COFF::is64Bit(Obj.Header.Machine); } in is64Bit()
50 return Obj.OptionalHeader->Header.FileAlignment; in getFileAlignment()
62 for (COFFYAML::Section &Sec : Obj.Sections) { in parseSections()
97 for (COFFYAML::Symbol &Sym : Obj.Symbols) { in parseSymbols()
133 COFFYAML::Object &Obj; member
156 CP.Obj.Header.SizeOfOptionalHeader = in layoutOptionalHeader()
[all …]
H A DXCOFFEmitter.cpp35 XCOFFWriter(XCOFFYAML::Object &Obj, raw_ostream &OS, yaml::ErrorHandler EH) in XCOFFWriter() argument
36 : Obj(Obj), W(OS, llvm::endianness::big), ErrHandler(EH), in XCOFFWriter()
38 Is64Bit = Obj.Header.Magic == (llvm::yaml::Hex16)XCOFF::XCOFF64; in XCOFFWriter()
70 XCOFFYAML::Object &Obj; member in __anonb16345390111::XCOFFWriter
81 XCOFFYAML::FileHeader InitFileHdr = Obj.Header;
83 std::vector<XCOFFYAML::Section> InitSections = Obj.Sections;
234 if (Obj.StrTbl.RawContent) { in initStringTable()
235 size_t RawSize = Obj.StrTbl.RawContent->binary_size(); in initStringTable()
236 if (Obj.StrTbl.Strings || Obj.StrTbl.Length) { in initStringTable()
241 if (Obj.StrTbl.ContentSize && *Obj.StrTbl.ContentSize < RawSize) { in initStringTable()
[all …]
/freebsd/contrib/llvm-project/llvm/tools/llvm-objdump/
H A DELFDump.cpp29 ELFDumper(const ELFObjectFile<ELFT> &O) : Dumper(O), Obj(O) {} in ELFDumper()
34 const ELFObjectFile<ELFT> &Obj; member in __anon2dd11fdf0111::ELFDumper
36 const ELFFile<ELFT> &getELFFile() const { return Obj.getELFFile(); } in getELFFile()
45 static std::unique_ptr<Dumper> createDumper(const ELFObjectFile<ELFT> &Obj) { in createDumper() argument
46 return std::make_unique<ELFDumper<ELFT>>(Obj); in createDumper()
50 objdump::createELFDumper(const object::ELFObjectFileBase &Obj) { in createELFDumper() argument
51 if (const auto *O = dyn_cast<ELF32LEObjectFile>(&Obj)) in createELFDumper()
53 if (const auto *O = dyn_cast<ELF32BEObjectFile>(&Obj)) in createELFDumper()
55 if (const auto *O = dyn_cast<ELF64LEObjectFile>(&Obj)) in createELFDumper()
57 return createDumper(cast<ELF64BEObjectFile>(Obj)); in createELFDumper()
[all …]
H A DCOFFDump.cpp43 : Dumper(O), Obj(O) { in COFFDumper()
44 Is64 = !Obj.getPE32Header(); in COFFDumper()
59 const llvm::object::COFFObjectFile &Obj; member in __anon2be31a260111::COFFDumper
65 objdump::createCOFFDumper(const object::COFFObjectFile &Obj) { in createCOFFDumper() argument
66 return std::make_unique<COFFDumper>(Obj); in createCOFFDumper()
185 if (const data_directory *Data = Obj.getDataDirectory(I)) { in printPEHeader()
343 static Error resolveSectionAndAddress(const COFFObjectFile *Obj, in resolveSectionAndAddress() argument
354 ResolvedSection = Obj->getCOFFSection(**Iter); in resolveSectionAndAddress()
377 getSectionContents(const COFFObjectFile *Obj, in getSectionContents() argument
384 if (Error E = resolveSectionAndAddress(Obj, Sym, Section, Addr)) in getSectionContents()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyldMachO.cpp36 getObjectForDebug(const ObjectFile &Obj) const override { in getObjectForDebug()
58 const MachOObjectFile &Obj = in processScatteredVANILLA() local
61 Obj.getRelocation(RelI->getRawDataRefImpl()); in processScatteredVANILLA()
64 uint32_t RelocType = Obj.getAnyRelocationType(RE); in processScatteredVANILLA()
65 bool IsPCRel = Obj.getAnyRelocationPCRel(RE); in processScatteredVANILLA()
66 unsigned Size = Obj.getAnyRelocationLength(RE); in processScatteredVANILLA()
72 unsigned SymbolBaseAddr = Obj.getScatteredRelocationValue(RE); in processScatteredVANILLA()
73 section_iterator TargetSI = getSectionByAddress(Obj, SymbolBaseAddr); in processScatteredVANILLA()
74 assert(TargetSI != Obj.section_end() && "Can't find section for symbol"); in processScatteredVANILLA()
80 findOrEmitSection(Obj, TargetSection, IsCode, ObjSectionToID)) in processScatteredVANILLA()
[all …]
/freebsd/contrib/llvm-project/clang/lib/InstallAPI/
H A DFileList.cpp43 Expected<StringRef> parseString(const Object *Obj, StringRef Key,
45 Expected<StringRef> parsePath(const Object *Obj);
46 Expected<HeaderType> parseType(const Object *Obj);
47 std::optional<clang::Language> parseLanguage(const Object *Obj);
60 Implementation::parseString(const Object *Obj, StringRef Key, StringRef Error) { in parseString() argument
61 auto Str = Obj->getString(Key); in parseString()
67 Expected<HeaderType> Implementation::parseType(const Object *Obj) { in parseType() argument
69 parseString(Obj, "type", "required field 'type' not specified"); in parseType()
84 Expected<StringRef> Implementation::parsePath(const Object *Obj) { in parsePath() argument
85 auto Path = parseString(Obj, "path", "required field 'path' not specified"); in parsePath()
[all …]

12345678910>>...12