Searched refs:EC (Results 51 - 75 of 485) sorted by relevance

1234567891011>>

/openbsd-current/gnu/llvm/llvm/lib/DebugInfo/PDB/Native/
H A DInfoStream.cpp26 if (auto EC = Reader.readObject(Header))
28 std::move(EC),
44 if (auto EC = NamedStreams.load(Reader))
45 return EC;
50 if (auto EC = Reader.readSubstream(SubNamedStreams, NamedStreamMapByteSize))
51 return EC;
56 if (auto EC = Reader.readEnum(Sig))
57 return EC;
H A DDbiModuleDescriptorBuilder.cpp153 if (auto EC = ModiWriter.writeObject(Layout))
154 return EC;
155 if (auto EC = ModiWriter.writeCString(ModuleName))
156 return EC;
157 if (auto EC = ModiWriter.writeCString(ObjFileName))
158 return EC;
159 if (auto EC = ModiWriter.padToAlignment(sizeof(uint32_t)))
160 return EC;
174 if (auto EC = SymbolWriter.writeInteger<uint32_t>(COFF::DEBUG_SECTION_MAGIC))
175 return EC;
[all...]
H A DDbiModuleList.cpp165 if (auto EC = initializeModInfo(ModInfo))
166 return EC;
167 if (auto EC = initializeFileInfo(FileInfo))
168 return EC;
181 if (auto EC = Reader.readArray(Descriptors, ModInfo.getLength()))
182 return EC;
194 if (auto EC = FISR.readObject(FileInfoHeader))
195 return EC;
200 if (auto EC = FISR.readArray(ModuleIndices, FileInfoHeader->NumModules))
201 return EC;
[all...]
H A DInjectedSourceStream.cpp31 if (auto EC = Reader.readObject(Header))
32 return EC;
39 if (auto EC = InjectedSourceTable.load(Reader))
40 return EC;
H A DSymbolStream.cpp27 if (auto EC = Reader.readArray(SymbolRecords, Stream->getLength()))
28 return EC;
/openbsd-current/gnu/llvm/llvm/tools/llvm-cvtres/
H A Dllvm-cvtres.cpp77 static void reportError(StringRef Input, std::error_code EC) { argument
78 reportError(Twine(Input) + ": " + EC.message() + ".\n");
81 static void error(StringRef Input, Error EC) { argument
82 if (!EC)
84 handleAllErrors(std::move(EC), [&](const ErrorInfoBase &EI) {
89 static void error(Error EC) { argument
90 if (!EC)
92 handleAllErrors(std::move(EC),
103 template <typename T> T error(Expected<T> EC) { argument
104 if (!EC)
109 error(StringRef Input, Expected<T> EC) argument
115 error(StringRef Input, ErrorOr<T> &&EC) argument
[all...]
/openbsd-current/gnu/llvm/llvm/lib/DebugInfo/CodeView/
H A DDebugCrossImpSubsection.cpp33 if (auto EC = Reader.readObject(Item.Header))
34 return EC;
39 if (auto EC = Reader.readArray(Item.Imports, Item.Header->Count))
40 return EC;
90 if (auto EC = Writer.writeObject(Imp))
91 return EC;
92 if (auto EC = Writer.writeArray(ArrayRef(Item->getValue())))
93 return EC;
H A DDebugSymbolsSubsection.cpp25 if (auto EC = Writer.writeBytes(Record.RecordData))
26 return EC;
H A DLazyRandomTypeCollection.cpp28 static void error(Error &&EC) { argument
29 assert(!static_cast<bool>(EC));
30 if (EC)
31 consumeError(std::move(EC));
92 auto EC = ensureTypeExists(Index); local
93 error(std::move(EC));
103 if (auto EC = ensureTypeExists(Index)) {
104 consumeError(std::move(EC));
120 if (auto EC = ensureTypeExists(Index)) {
121 consumeError(std::move(EC));
[all...]
H A DDebugStringTableSubsection.cpp39 if (auto EC = Reader.readCString(Result))
40 return std::move(EC);
69 if (auto EC = Writer.writeCString(StringRef()))
70 return EC;
76 if (auto EC = Writer.writeCString(S))
77 return EC;
/openbsd-current/gnu/llvm/llvm/lib/Support/
H A DBinaryStreamReader.cpp31 if (auto EC = Stream.readLongestContiguousChunk(Offset, Buffer))
32 return EC;
38 if (auto EC = Stream.readBytes(Offset, Size, Buffer))
39 return EC;
80 if (auto EC = readLongestContiguousChunk(Buffer))
81 return EC;
94 if (auto EC = readFixedString(Dest, Length))
95 return EC;
107 if (auto EC = readObject(C))
108 return EC;
162 auto EC = Stream.readBytes(Offset, 1, Buffer); local
[all...]
H A DFileUtilities.cpp185 if (std::error_code EC = F1OrErr.getError()) {
187 *Error = EC.message();
193 if (std::error_code EC = F2OrErr.getError()) {
195 *Error = EC.message();
333 if (auto EC = sys::fs::status(InputFilename, Status))
334 return createFileError(InputFilename, EC);
357 if (std::error_code EC = sys::fs::openFileForWrite(OutputFilename, FD,
359 return createFileError(OutputFilename, EC);
362 if (std::error_code EC = sys::fs::setLastAccessAndModificationTime(
364 return createFileError(OutputFilename, EC);
[all...]
H A DBinaryStreamRef.cpp80 if (auto EC = checkOffsetForRead(Offset, Size))
81 return EC;
87 if (auto EC = checkOffsetForRead(Offset, 1))
88 return EC;
90 if (auto EC =
92 return EC;
117 if (auto EC = checkOffsetForWrite(Offset, Data.size()))
118 return EC;
/openbsd-current/gnu/llvm/llvm/include/llvm/DebugInfo/CodeView/
H A DTypeDeserializer.h45 if (auto EC = I.Mapping.visitTypeBegin(CVT))
46 return EC;
47 if (auto EC = I.Mapping.visitKnownRecord(CVT, Record))
48 return EC;
49 if (auto EC = I.Mapping.visitTypeEnd(CVT))
50 return EC;
62 if (auto EC = deserializeAs<T>(CVT, Record))
63 return std::move(EC);
79 auto EC = Mapping->Mapping.visitTypeEnd(Record); variable
81 return EC;
[all...]
/openbsd-current/gnu/llvm/llvm/include/llvm/Testing/Support/
H A DSupportHelpers.h123 std::error_code EC; local
125 EC = llvm::sys::fs::createUniqueDirectory(Name, Path);
126 if (!EC) {
129 EC = llvm::sys::fs::real_path(UnresolvedPath, Path);
133 EC = llvm::sys::fs::create_directory(Path);
135 if (EC)
137 EXPECT_FALSE(EC) << EC.message();
180 std::error_code EC = sys::fs::create_link(Target, Link); local
181 if (EC)
215 std::error_code EC; local
[all...]
/openbsd-current/gnu/llvm/lldb/tools/lldb-server/
H A DLLDBServerUtilities.cpp40 std::error_code EC; local
42 log_file, EC, sys::fs::OF_TextWithCRLF | sys::fs::OF_Append);
43 if (!EC)
47 log_file, EC.message());
/openbsd-current/gnu/llvm/llvm/tools/llvm-split/
H A Dllvm-split.cpp67 std::error_code EC;
69 OutputFilename + utostr(I++), EC, sys::fs::OF_None));
70 if (EC) {
71 errs() << EC.message() << '\n';
/openbsd-current/gnu/llvm/llvm/lib/TableGen/
H A DMain.cpp74 std::error_code EC;
75 ToolOutputFile DepOut(DependFilename, EC, sys::fs::OF_Text);
76 if (EC)
78 EC.message() + "\n");
99 if (std::error_code EC = FileOrErr.getError())
101 "': " + EC.message() + "\n");
148 std::error_code EC; local
149 ToolOutputFile OutFile(OutputFilename, EC, sys::fs::OF_Text);
150 if (EC)
152 EC
[all...]
/openbsd-current/gnu/llvm/llvm/include/llvm/DebugInfo/PDB/Native/
H A DHashTable.h118 if (auto EC = Stream.readObject(H))
119 return EC;
129 if (auto EC = readSparseBitVector(Stream, Present))
130 return EC;
135 if (auto EC = readSparseBitVector(Stream, Deleted))
136 return EC;
142 if (auto EC = Stream.readInteger(Buckets[P].first))
143 return EC;
145 if (auto EC = Stream.readObject(Value))
146 return EC;
[all...]
/openbsd-current/gnu/llvm/llvm/tools/llvm-libtool-darwin/
H A DDependencyInfo.h32 std::error_code EC; local
33 llvm::raw_fd_ostream OS(DependencyInfoPath, EC, llvm::sys::fs::OF_None);
34 if (EC) {
36 EC,
37 "failed to write to " + DependencyInfoPath + ": " + EC.message()));
/openbsd-current/gnu/llvm/llvm/lib/CodeGen/
H A DEdgeBundles.cpp43 EC.clear();
44 EC.grow(2 * MF->getNumBlockIDs());
50 EC.join(OutE, 2 * Succ->getNumber());
52 EC.compress();
/openbsd-current/gnu/llvm/llvm/include/llvm/Support/
H A DMemory.h82 /// \p EC [out] returns an object describing any error that occurs.
94 /// otherwise a null MemoryBlock is with \p EC describing the error.
100 std::error_code &EC);
160 std::error_code EC; local
162 EC = Memory::releaseMappedMemory(M);
165 return EC;
/openbsd-current/gnu/llvm/llvm/lib/Support/Windows/
H A DProgram.inc54 if (std::error_code EC = windows::UTF8ToUTF16(P, TmpPath))
55 return EC;
62 if (std::error_code EC = windows::UTF8ToUTF16(Name, U16Name))
63 return EC;
81 if (std::error_code EC =
83 return EC;
94 if (std::error_code EC =
96 return EC;
520 std::error_code EC;
521 llvm::raw_fd_ostream OS(FileName, EC, llv
[all...]
/openbsd-current/gnu/llvm/llvm/tools/llvm-cat/
H A Dllvm-cat.cpp86 std::error_code EC; local
87 raw_fd_ostream OS(OutputFilename, EC, sys::fs::OpenFlags::OF_None);
88 if (EC) {
90 << EC.message();
/openbsd-current/gnu/llvm/llvm/tools/llvm-reduce/
H A DTestRunner.cpp63 std::error_code EC; local
64 raw_fd_ostream Out(OutputFilename, EC,
67 if (EC) {
68 errs() << "Error opening output file: " << EC.message() << "!\n";

Completed in 260 milliseconds

1234567891011>>