Home
last modified time | relevance | path

Searched defs:EC (Results 1 – 25 of 367) sorted by relevance

12345678910>>...15

/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/
H A DCodeViewRecordIO.cpp110 if (auto EC = Writer->writeBytes(Bytes)) in mapByteVectorTail() local
113 if (auto EC = Reader->readBytes(Bytes, Reader->bytesRemaining())) in mapByteVectorTail() local
122 if (auto EC = mapByteVectorTail(BytesRef, Comment)) in mapByteVectorTail() local
140 if (auto EC = Writer->writeInteger(TypeInd.getIndex())) in mapInteger() local
144 if (auto EC = Reader->readInteger(I)) in mapInteger() local
160 if (auto EC = writeEncodedUnsignedInteger(static_cast<uint64_t>(Value))) in mapEncodedInteger() local
163 if (auto EC = writeEncodedSignedInteger(Value)) in mapEncodedInteger() local
168 if (auto EC = consume(*Reader, N)) in mapEncodedInteger() local
181 if (auto EC = writeEncodedUnsignedInteger(Value)) in mapEncodedInteger() local
185 if (auto EC = consume(*Reader, N)) in mapEncodedInteger() local
[all …]
H A DDebugSubsectionVisitor.cpp36 if (auto EC = Fragment.initialize(Reader)) in visitDebugSubsection() local
43 if (auto EC = Fragment.initialize(Reader)) in visitDebugSubsection() local
50 if (auto EC = Fragment.initialize(Reader)) in visitDebugSubsection() local
56 if (auto EC = Section.initialize(Reader)) in visitDebugSubsection() local
62 if (auto EC = Section.initialize(Reader)) in visitDebugSubsection() local
68 if (auto EC = Section.initialize(Reader)) in visitDebugSubsection() local
74 if (auto EC = Section.initialize(Reader)) in visitDebugSubsection() local
80 if (auto EC = Section.initialize(Reader)) in visitDebugSubsection() local
86 if (auto EC = Section.initialize(Reader)) in visitDebugSubsection() local
H A DDebugInlineeLinesSubsection.cpp28 if (auto EC = Reader.readObject(Item.Header)) in operator ()() local
33 if (auto EC = Reader.readInteger(ExtraFileCount)) in operator ()() local
35 if (auto EC = Reader.readArray(Item.ExtraFiles, ExtraFileCount)) in operator ()() local
47 if (auto EC = Reader.readEnum(Signature)) in initialize() local
51 if (auto EC = Reader.readArray(Lines, Reader.bytesRemaining())) in initialize() local
89 if (auto EC = Writer.writeEnum(Sig)) in commit() local
93 if (auto EC = Writer.writeObject(E.Header)) in commit() local
99 if (auto EC = Writer.writeInteger<uint32_t>(E.ExtraFiles.size())) in commit() local
101 if (auto EC = Writer.writeArray(ArrayRef(E.ExtraFiles))) in commit() local
H A DRecordSerialization.cpp40 if (auto EC = Reader.readInteger(Short)) in consume() local
52 if (auto EC = Reader.readInteger(N)) in consume() local
59 if (auto EC = Reader.readInteger(N)) in consume() local
66 if (auto EC = Reader.readInteger(N)) in consume() local
73 if (auto EC = Reader.readInteger(N)) in consume() local
80 if (auto EC = Reader.readInteger(N)) consume() local
87 if (auto EC = Reader.readInteger(N)) consume() local
94 if (auto EC = Reader.readInteger(N)) consume() local
108 auto EC = consume(SR, Num); consume() local
117 if (auto EC = consume(Reader, N)) consume_numeric() local
134 auto EC = consume(SR, Item); consume() local
[all...]
H A DCVSymbolVisitor.cpp29 if (auto EC = Callbacks.visitKnownRecord(Record, KnownRecord)) in visitKnownRecord() local
38 if (auto EC = Callbacks.visitUnknownSymbol(Record)) in finishVisitation() local
52 if (auto EC = Callbacks.visitSymbolEnd(Record)) in finishVisitation() local
59 if (auto EC = Callbacks.visitSymbolBegin(Record)) in visitSymbolRecord() local
65 if (auto EC = Callbacks.visitSymbolBegin(Record, Offset)) in visitSymbolRecord() local
72 if (auto EC = visitSymbolRecord(I)) in visitSymbolStream() local
81 if (auto EC = visitSymbolRecord(I, InitialOffset + Symbols.skew())) in visitSymbolStream() local
125 if (auto EC = visitSymbolRecord(Parent, ParentOffsets[StartIndex])) in visitSymbolStreamFiltered() local
129 if (auto EC = visitSymbolRecord(Sym, SymbolOffset)) in visitSymbolStreamFiltered() local
138 if (auto EC = visitSymbolRecord(BeginSym, BeginOffset)) in visitSymbolStreamFiltered() local
[all …]
H A DDebugLinesSubsection.cpp27 if (auto EC = Reader.readObject(BlockHeader)) in operator ()() local
44 if (auto EC = Reader.readArray(Item.LineNumbers, BlockHeader->NumLines)) in operator ()() local
47 if (auto EC = Reader.readArray(Item.Columns, BlockHeader->NumLines)) in operator ()() local
57 if (auto EC = Reader.readObject(Header)) in initialize() local
61 if (auto EC = Reader.readArray(LinesAndColumns, Reader.bytesRemaining())) in initialize() local
110 if (auto EC = Writer.writeObject(Header)) in commit() local
123 if (auto EC = Writer.writeObject(BlockHeader)) in commit() local
126 if (auto EC = Writer.writeArray(ArrayRef(B.Lines))) in commit() local
130 if (auto EC = Writer.writeArray(ArrayRef(B.Columns))) in commit() local
H A DDebugSubsectionRecord.cpp32 if (auto EC = Reader.readObject(Header)) in initialize() local
37 if (auto EC = Reader.readStreamRef(Info.Data, Header->Length)) in initialize() local
80 if (auto EC = Writer.writeObject(Header)) in commit() local
83 if (auto EC = Subsection->commit(Writer)) in commit() local
86 if (auto EC = Writer.writeStreamRef(Contents.getRecordData())) in commit() local
89 if (auto EC = Writer.padToAlignment(4)) in commit() local
H A DSymbolSerializer.cpp31 return EC; in visitSymbolBegin() local
35 return EC; in visitSymbolBegin() local
44 return EC; in visitSymbolEnd() local
50 return EC; in visitSymbolEnd() local
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/
H A DDbiStream.cpp40 if (auto EC = Reader.readArray(Output, Count)) in loadSectionContribs() local
56 if (auto EC = Reader.readObject(Header)) in reload() local
98 if (auto EC = Reader.readSubstream(ModiSubstream, Header->ModiSubstreamSize)) in reload() local
101 if (auto EC = Reader.readSubstream(SecContrSubstream, in reload() local
104 if (auto EC = Reader.readSubstream(SecMapSubstream, Header->SectionMapSize)) in reload() local
106 if (auto EC = Reader.readSubstream(FileInfoSubstream, Header->FileInfoSize)) in reload() local
108 if (auto EC = in reload() local
111 if (auto EC = Reader.readSubstream(ECSubstream, Header->ECSubstreamSize)) in reload() local
113 if (auto EC = Reader.readArray( in reload() local
117 if (auto EC = Modules.initialize(ModiSubstream.StreamData, in reload() local
[all …]
H A DPDBStringTable.cpp27 if (auto EC = Reader.readObject(Header)) in readHeader() local
43 if (auto EC = Reader.readStreamRef(Stream)) in readStrings() local
46 if (auto EC = Strings.initialize(Stream)) { in readStrings() local
63 if (auto EC = Reader.readObject(HashCount)) in readHashTable() local
66 if (auto EC = Reader.readArray(IDs, *HashCount)) { in readHashTable() local
76 if (auto EC = Reader.readInteger(NameCount)) in readEpilogue() local
88 if (auto EC = readHeader(SectionReader)) in reload() local
92 if (auto EC = readStrings(SectionReader)) in reload() local
97 if (auto EC = readHashTable(Reader)) in reload() local
101 if (auto EC = readEpilogue(SectionReader)) in reload() local
H A DDbiStreamBuilder.cpp200 return EC; in generateFileInfoSubstream() local
198 if (auto EC = MetadataWriter.writeInteger(ModiCount)) // NumModules generateFileInfoSubstream() local
203 if (auto EC = MetadataWriter.writeInteger(I)) // Mod Indices generateFileInfoSubstream() local
208 if (auto EC = MetadataWriter.writeInteger(FileCount)) // Mod File Counts generateFileInfoSubstream() local
220 if (auto EC = NameBufferWriter.writeCString(Name.getKey())) generateFileInfoSubstream() local
230 if (auto EC = MetadataWriter.writeInteger(Result->second)) generateFileInfoSubstream() local
235 if (auto EC = NameBufferWriter.padToAlignment(sizeof(uint32_t))) generateFileInfoSubstream() local
257 if (auto EC = generateFileInfoSubstream()) finalize() local
318 if (auto EC = MI->finalizeMsfLayout()) finalizeMsfLayout() local
323 if (auto EC = Msf.setStreamSize(StreamDBI, Length)) finalizeMsfLayout() local
384 if (auto EC = finalize()) commit() local
391 if (auto EC = Writer.writeObject(*Header)) commit() local
395 if (auto EC = M->commit(Writer)) commit() local
400 if (auto EC = parallelForEachError( commit() local
407 if (auto EC = Writer.writeEnum(DbiSecContribVer60)) commit() local
409 if (auto EC = Writer.writeArray(ArrayRef(SectionContribs))) commit() local
416 if (auto EC = Writer.writeObject(SMHeader)) commit() local
418 if (auto EC = Writer.writeArray(ArrayRef(SectionMap))) commit() local
422 if (auto EC = Writer.writeStreamRef(FileInfoBuffer)) commit() local
425 if (auto EC = ECNamesBuilder.commit(Writer)) commit() local
432 if (auto EC = Writer.writeInteger(StreamNumber)) commit() local
445 if (auto EC = Stream->WriteFn(DbgStreamWriter)) commit() local
[all...]
H A DModuleDebugStream.cpp62 if (auto EC = Reader.readInteger(Signature)) in reloadSerialize() local
65 if (auto EC = Reader.readSubstream(SymbolsSubstream, SymbolSize)) in reloadSerialize() local
67 if (auto EC = Reader.readSubstream(C11LinesSubstream, C11Size)) in reloadSerialize() local
69 if (auto EC = Reader.readSubstream(C13LinesSubstream, C13Size)) in reloadSerialize() local
73 if (auto EC = SymbolReader.readArray( in reloadSerialize() local
78 if (auto EC = SubsectionsReader.readArray(Subsections, in reloadSerialize() local
83 if (auto EC = Reader.readInteger(GlobalRefsSize)) in reloadSerialize() local
85 if (auto EC = Reader.readSubstream(GlobalRefsSubstream, GlobalRefsSize)) in reloadSerialize() local
140 if (auto EC = Result.initialize(SS.getRecordData())) in findChecksumsSubsection() local
H A DPDBFileBuilder.cpp149 if (auto EC = Gsi->finalizeMsfLayout()) finalizeMsfLayout() local
158 if (auto EC = Tpi->finalizeMsfLayout()) finalizeMsfLayout() local
162 if (auto EC = Dbi->finalizeMsfLayout()) finalizeMsfLayout() local
170 if (auto EC = Ipi->finalizeMsfLayout()) finalizeMsfLayout() local
177 if (auto EC = Info->finalizeMsfLayout()) finalizeMsfLayout() local
218 if (auto EC = Info->finalizeMsfLayout()) finalizeMsfLayout() local
273 if (auto EC = finalizeMsfLayout()) commit() local
290 if (auto EC = Strings.commit(NSWriter)) commit() local
300 if (auto EC = NSW.writeBytes(arrayRefFromStringRef(NSE.second))) commit() local
305 if (auto EC = Info->commit(Layout, Buffer)) commit() local
310 if (auto EC = Dbi->commit(Layout, Buffer)) commit() local
315 if (auto EC = Tpi->commit(Layout, Buffer)) commit() local
320 if (auto EC = Ipi->commit(Layout, Buffer)) commit() local
325 if (auto EC = Gsi->commit(Layout, Buffer)) commit() local
[all...]
H A DPDBStringTableBuilder.cpp160 if (auto EC = Writer.writeObject(H)) writeHeader() local
167 if (auto EC = Strings.commit(Writer)) writeStrings() local
177 if (auto EC = Writer.writeInteger(BucketCount)) writeHashTable() local
195 if (auto EC = Writer.writeArray(ArrayRef<ulittle32_t>(Buckets))) writeHashTable() local
203 if (auto EC = Writer.writeInteger<uint32_t>(Strings.size())) writeEpilogue() local
213 if (auto EC = writeHeader(SectionWriter)) commit() local
218 if (auto EC = writeStrings(SectionWriter)) commit() local
222 if (auto EC = writeHashTable(SectionWriter)) commit() local
226 if (auto EC = writeEpilogue(SectionWriter)) commit() local
[all...]
H A DPDBFile.cpp108 if (auto EC = Buffer->readBytes(StreamBlockOffset, NumBytes, Result)) in getBlockData() local
124 if (auto EC = Reader.readObject(SB)) { in parseFileHeaders() local
130 if (auto EC = msf::validateSuperBlock(*SB)) in parseFileHeaders() local
157 if (auto EC = FpmReader.readBytes(FpmBytes, FpmReader.bytesRemaining())) in parseFileHeaders() local
172 if (auto EC = Reader.readArray(ContainerLayout.DirectoryBlocks, in parseFileHeaders() local
194 if (auto EC = Reader.readInteger(NumStreams)) in parseStreamData() local
197 if (auto EC = Reader.readArray(ContainerLayout.StreamSizes, NumStreams)) in parseStreamData() local
214 if (auto EC = Reader.readArray(Blocks, NumExpectedStreamBlocks)) in parseStreamData() local
267 if (auto EC = TempGlobals->reload()) in getPDBGlobalsStream() local
280 if (auto EC = TempInfo->reload()) in getPDBInfoStream() local
[all …]
H A DDbiModuleDescriptorBuilder.cpp153 if (auto EC = ModiWriter.writeObject(Layout)) in commit() local
155 if (auto EC = ModiWriter.writeCString(ModuleName)) in commit() local
157 if (auto EC = ModiWriter.writeCString(ObjFileName)) in commit() local
159 if (auto EC = ModiWriter.padToAlignment(sizeof(uint32_t))) in commit() local
174 if (auto EC = SymbolWriter.writeInteger<uint32_t>(COFF::DEBUG_SECTION_MAGIC)) in commitSymbolStream() local
179 if (auto EC = MergeSymsCallback(MergeSymsCtx, Sym.SymPtr, SymbolWriter)) in commitSymbolStream() local
182 if (auto EC = SymbolWriter.writeBytes(Sym.asArray())) in commitSymbolStream() local
200 if (auto EC = Builder.commit(SymbolWriter, CodeViewContainer::Pdb)) in commitSymbolStream() local
205 if (auto EC = SymbolWriter.writeInteger<uint32_t>(0)) in commitSymbolStream() local
H A DDbiModuleList.cpp165 if (auto EC = initializeModInfo(ModInfo)) in initialize() local
167 if (auto EC = initializeFileInfo(FileInfo)) in initialize() local
181 if (auto EC = Reader.readArray(Descriptors, ModInfo.getLength())) in initializeModInfo() local
194 if (auto EC = FISR.readObject(FileInfoHeader)) in initializeFileInfo() local
200 if (auto EC = FISR.readArray(ModuleIndices, FileInfoHeader->NumModules)) in initializeFileInfo() local
202 if (auto EC = FISR.readArray(ModFileCountArray, FileInfoHeader->NumModules)) in initializeFileInfo() local
217 if (auto EC = FISR.readArray(FileNameOffsets, NumSourceFiles)) in initializeFileInfo() local
220 if (auto EC = FISR.readStreamRef(NamesBuffer)) in initializeFileInfo() local
279 if (auto EC = Names.readCString(Name)) in getFileName() local
H A DGlobalsStream.cpp111 if (auto EC = checkHashHdrVersion(HashHdr)) in readGSIHashRecords() local
120 if (auto EC = Reader.readArray(HashRecords, NumHashRecords)) in readGSIHashRecords() local
134 if (auto EC = checkHashHdrVersion(HashHdr)) in readGSIHashBuckets() local
141 if (auto EC = Reader.readArray(HashBitmap, NumBitmapEntries)) in readGSIHashBuckets() local
162 if (auto EC = Reader.readArray(HashBuckets, NumBuckets)) in readGSIHashBuckets() local
171 if (auto EC = readGSIHashHeader(HashHdr, Reader)) in read() local
173 if (auto EC = readGSIHashRecords(HashRecords, HashHdr, Reader)) in read() local
176 if (auto EC = readGSIHashBuckets(HashBuckets, HashBitmap, HashHdr, in read() local
/freebsd/contrib/llvm-project/llvm/lib/ProfileData/
H A DSampleProfReader.cpp473 std::error_code EC = sampleprof_error::malformed; in readNumber() local
477 std::error_code EC = sampleprof_error::truncated; in readNumber() local
489 std::error_code EC = sampleprof_error::truncated; in readString() local
501 std::error_code EC = sampleprof_error::truncated; in readUnencodedNumber() local
514 if (std::error_code EC = Idx.getError()) in readStringIndex() local
524 if (std::error_code EC = Idx.getError()) in readStringFromTable() local
534 if (std::error_code EC = ContextIdx.getError()) in readContextFromTable() local
549 if (std::error_code EC = FContext.getError()) in readSampleContextFromTable() local
554 if (std::error_code EC = FName.getError()) in readSampleContextFromTable() local
575 if (std::error_code EC = NumSamples.getError()) in readProfile() local
[all …]
H A DSampleProfWriter.cpp110 if (std::error_code EC = write(ProfileMap)) in writeWithSizeLimitInternal() local
147 if (std::error_code EC = writeSample(*I.second)) in writeFuncProfiles() local
154 if (std::error_code EC = writeHeader(ProfileMap)) in write() local
157 if (std::error_code EC = writeFuncProfiles(ProfileMap)) in write() local
208 if (std::error_code EC = compressAndOutput()) in addNewSection() local
224 if (std::error_code EC = writeHeader(ProfileMap)) in write() local
229 if (std::error_code EC = writeSections(ProfileMap)) in write() local
232 if (std::error_code EC = writeSecHdrTable()) in write() local
272 if (std::error_code EC = writeContextIdx(Context)) in writeFuncOffsetTable() local
285 if (std::error_code EC = WriteItem(Entry.first, Entry.second)) in writeFuncOffsetTable() local
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DFileCollector.cpp30 std::error_code EC; in addDirectory() local
139 std::error_code &EC) { in addDirectoryImpl()
164 if (auto EC = in copyAccessAndModificationTime() local
168 if (auto EC = sys::fs::setLastAccessAndModificationTime( in copyAccessAndModificationTime() local
172 if (auto EC = sys::Process::SafelyCloseFileDescriptor(FD)) in copyAccessAndModificationTime() local
189 if (std::error_code EC = sys::fs::status(entry.VPath, Stat)) { in copyFiles() local
200 if (std::error_code EC = in copyFiles() local
209 if (std::error_code EC = in copyFiles() local
219 if (std::error_code EC = sys::fs::copy_file(entry.VPath, entry.RPath)) { in copyFiles() local
226 if (std::error_code EC = sys::fs::setPermissions(entry.RPath, *perms)) { in copyFiles() local
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DTypeVisitorCallbackPipeline.h27 if (auto EC = Visitor->visitUnknownType(Record)) in visitUnknownType() local
35 if (auto EC = Visitor->visitUnknownMember(Record)) in visitUnknownMember() local
43 if (auto EC = Visitor->visitTypeBegin(Record)) in visitTypeBegin() local
51 if (auto EC = Visitor->visitTypeBegin(Record, Index)) in visitTypeBegin() local
59 if (auto EC = Visitor->visitTypeEnd(Record)) in visitTypeEnd() local
67 if (auto EC = Visitor->visitMemberBegin(Record)) in visitMemberBegin() local
75 if (auto EC = Visitor->visitMemberEnd(Record)) in visitMemberEnd() local
101 if (auto EC = Visitor->visitKnownRecord(CVR, Record)) in visitKnownRecordImpl() local
110 if (auto EC = Visitor->visitKnownMember(CVMR, Record)) in visitKnownMemberImpl() local
H A DCodeViewRecordIO.h94 if (auto EC = Reader->readObject(ValuePtr)) in mapObject() local
124 if (auto EC = mapInteger(X, Comment)) variable
153 if (auto EC = Mapper(*this, X)) variable
158 if (auto EC = Writer->writeInteger(Size)) variable
162 if (auto EC = Mapper(*this, X)) variable
166 if (auto EC = Reader->readInteger(Size)) variable
170 if (auto EC = Mapper(*this, Item)) variable
185 if (auto EC = Mapper(*this, Item)) variable
192 if (auto EC = Mapper(*this, Field)) variable
/freebsd/contrib/llvm-project/llvm/tools/llvm-pdbutil/
H A DYAMLOutputStyle.cpp49 if (auto EC = dumpFileHeaders()) in dump() local
52 if (auto EC = dumpStreamMetadata()) in dump() local
55 if (auto EC = dumpStreamDirectory()) in dump() local
58 if (auto EC = dumpStringTable()) in dump() local
61 if (auto EC = dumpPDBStream()) in dump() local
64 if (auto EC = dumpDbiStream()) in dump() local
67 if (auto EC = dumpTpiStream()) in dump() local
70 if (auto EC = dumpIpiStream()) in dump() local
73 if (auto EC = dumpPublics()) in dump() local
236 if (auto EC = ModS.reload()) in dumpDbiStream() local
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DBinaryStreamReader.h73 return EC; in readInteger() local
86 if (auto EC = readInteger(N)) readEnum() local
164 if (auto EC = readBytes(Buffer, sizeof(T))) readObject() local
191 if (auto EC = readBytes(Bytes, NumElements * sizeof(T))) readArray() local
213 if (auto EC = readStreamRef(S, Size)) global() variable
239 if (auto EC = readStreamRef(View, NumItems * sizeof(T))) readArray() local
[all...]

12345678910>>...15