Home
last modified time | relevance | path

Searched refs:RawError (Results 1 – 25 of 40) sorted by relevance

12

/external/llvm/lib/DebugInfo/PDB/Raw/
DRawError.cpp45 char RawError::ID = 0;
47 RawError::RawError(raw_error_code C) : RawError(C, "") {} in RawError() function in RawError
49 RawError::RawError(const std::string &Context) in RawError() function in RawError
50 : RawError(raw_error_code::unspecified, Context) {} in RawError()
52 RawError::RawError(raw_error_code C, const std::string &Context) : Code(C) { in RawError() function in RawError
61 void RawError::log(raw_ostream &OS) const { OS << ErrMsg << "\n"; } in log()
63 const std::string &RawError::getErrorMessage() const { return ErrMsg; } in getErrorMessage()
65 std::error_code RawError::convertToErrorCode() const { in convertToErrorCode()
DNameMap.cpp29 make_error<RawError>(raw_error_code::corrupt_file, in load()
32 return make_error<RawError>(raw_error_code::corrupt_file, in load()
44 make_error<RawError>(raw_error_code::corrupt_file, in load()
52 make_error<RawError>(raw_error_code::corrupt_file, in load()
56 return make_error<RawError>(raw_error_code::corrupt_file, in load()
66 make_error<RawError>(raw_error_code::corrupt_file, in load()
70 return make_error<RawError>(raw_error_code::corrupt_file, in load()
78 make_error<RawError>(raw_error_code::corrupt_file, in load()
91 make_error<RawError>(raw_error_code::corrupt_file, in load()
95 return make_error<RawError>(raw_error_code::corrupt_file, in load()
[all …]
DDbiStream.cpp72 return make_error<RawError>( in loadSectionContribs()
93 return make_error<RawError>(raw_error_code::corrupt_file, in reload()
96 return make_error<RawError>(raw_error_code::corrupt_file, in reload()
100 return make_error<RawError>(raw_error_code::corrupt_file, in reload()
107 return make_error<RawError>(raw_error_code::feature_unsupported, in reload()
115 return make_error<RawError>(raw_error_code::corrupt_file, in reload()
123 return make_error<RawError>(raw_error_code::corrupt_file, in reload()
129 return make_error<RawError>(raw_error_code::corrupt_file, in reload()
132 return make_error<RawError>( in reload()
136 return make_error<RawError>(raw_error_code::corrupt_file, in reload()
[all …]
DPublicsStream.cpp93 return make_error<RawError>(raw_error_code::corrupt_file, in reload()
98 return make_error<RawError>(raw_error_code::corrupt_file, in reload()
102 return make_error<RawError>(raw_error_code::corrupt_file, in reload()
107 return make_error<RawError>(raw_error_code::corrupt_file, in reload()
112 make_error<RawError>(raw_error_code::corrupt_file, in reload()
120 make_error<RawError>(raw_error_code::corrupt_file, in reload()
133 make_error<RawError>(raw_error_code::corrupt_file, in reload()
140 make_error<RawError>(raw_error_code::corrupt_file, in reload()
146 make_error<RawError>(raw_error_code::corrupt_file, in reload()
152 make_error<RawError>(raw_error_code::corrupt_file, in reload()
[all …]
DPDBFile.cpp89 return make_error<RawError>( in setBlockData()
93 return make_error<RawError>( in setBlockData()
107 return make_error<RawError>(raw_error_code::corrupt_file, in parseFileHeaders()
160 return make_error<RawError>(raw_error_code::corrupt_file, in parseStreamData()
278 return make_error<RawError>(raw_error_code::no_stream); in getStringTable()
280 return make_error<RawError>(raw_error_code::no_stream); in getStringTable()
301 return make_error<RawError>(raw_error_code::corrupt_file, in setSuperBlock()
306 return make_error<RawError>(raw_error_code::corrupt_file, in setSuperBlock()
317 return make_error<RawError>(raw_error_code::corrupt_file, in setSuperBlock()
322 return make_error<RawError>(raw_error_code::corrupt_file, in setSuperBlock()
[all …]
DTpiStream.cpp135 return make_error<RawError>( in errorInvalidHash()
159 return make_error<RawError>(raw_error_code::corrupt_file, in reload()
163 return make_error<RawError>(raw_error_code::corrupt_file, in reload()
167 return make_error<RawError>(raw_error_code::corrupt_file, in reload()
171 return make_error<RawError>(raw_error_code::corrupt_file, in reload()
175 return make_error<RawError>(raw_error_code::corrupt_file, in reload()
180 return make_error<RawError>(raw_error_code::corrupt_file, in reload()
189 return make_error<RawError>(raw_error_code::corrupt_file, in reload()
200 return make_error<RawError>( in reload()
DNameHashTable.cpp36 return make_error<RawError>(raw_error_code::corrupt_file, in load()
39 return make_error<RawError>(raw_error_code::corrupt_file, in load()
46 make_error<RawError>(raw_error_code::corrupt_file, in load()
55 make_error<RawError>(raw_error_code::corrupt_file, in load()
59 return make_error<RawError>(raw_error_code::corrupt_file, in load()
DInfoStreamBuilder.cpp33 return make_error<RawError>(raw_error_code::unspecified, in build()
36 return make_error<RawError>(raw_error_code::unspecified, in build()
39 return make_error<RawError>(raw_error_code::unspecified, in build()
42 return make_error<RawError>(raw_error_code::unspecified, in build()
DMappedBlockStream.cpp46 return make_error<RawError>(raw_error_code::insufficient_buffer); in readBytes()
48 return make_error<RawError>(raw_error_code::insufficient_buffer); in readBytes()
126 return make_error<RawError>(raw_error_code::insufficient_buffer); in readLongestContiguousChunk()
195 return make_error<RawError>(raw_error_code::insufficient_buffer); in readBytes()
197 return make_error<RawError>(raw_error_code::insufficient_buffer); in readBytes()
229 return make_error<RawError>(raw_error_code::insufficient_buffer); in writeBytes()
232 return make_error<RawError>(raw_error_code::insufficient_buffer); in writeBytes()
300 return make_error<RawError>(raw_error_code::no_stream); in createIndexedStream()
DInfoStream.cpp34 make_error<RawError>(raw_error_code::corrupt_file, in reload()
44 return make_error<RawError>(raw_error_code::corrupt_file, in reload()
DModStream.cpp36 return llvm::make_error<RawError>(raw_error_code::corrupt_file, in reload()
62 return llvm::make_error<RawError>(raw_error_code::corrupt_file, in reload()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/PDB/Native/
DRawError.cpp53 char RawError::ID = 0;
55 RawError::RawError(raw_error_code C) : RawError(C, "") {} in RawError() function in RawError
57 RawError::RawError(const std::string &Context) in RawError() function in RawError
58 : RawError(raw_error_code::unspecified, Context) {} in RawError()
60 RawError::RawError(raw_error_code C, const std::string &Context) : Code(C) { in RawError() function in RawError
69 void RawError::log(raw_ostream &OS) const { OS << ErrMsg << "\n"; } in log()
71 const std::string &RawError::getErrorMessage() const { return ErrMsg; } in getErrorMessage()
73 std::error_code RawError::convertToErrorCode() const { in convertToErrorCode()
DDbiStream.cpp38 return make_error<RawError>( in loadSectionContribs()
57 return make_error<RawError>(raw_error_code::corrupt_file, in reload()
60 return make_error<RawError>(raw_error_code::corrupt_file, in reload()
64 return make_error<RawError>(raw_error_code::corrupt_file, in reload()
71 return make_error<RawError>(raw_error_code::feature_unsupported, in reload()
79 return make_error<RawError>(raw_error_code::corrupt_file, in reload()
85 return make_error<RawError>(raw_error_code::corrupt_file, in reload()
88 return make_error<RawError>( in reload()
92 return make_error<RawError>(raw_error_code::corrupt_file, in reload()
95 return make_error<RawError>(raw_error_code::corrupt_file, in reload()
[all …]
DPublicsStream.cpp65 return make_error<RawError>(raw_error_code::corrupt_file, in reload()
70 return make_error<RawError>(raw_error_code::corrupt_file, in reload()
81 make_error<RawError>(raw_error_code::corrupt_file, in reload()
87 make_error<RawError>(raw_error_code::corrupt_file, in reload()
94 make_error<RawError>(raw_error_code::corrupt_file, in reload()
99 return make_error<RawError>(raw_error_code::corrupt_file, in reload()
DGlobalsStream.cpp46 return make_error<RawError>( in checkHashHdrVersion()
56 return make_error<RawError>(raw_error_code::corrupt_file, in readGSIHashHeader()
60 return make_error<RawError>( in readGSIHashHeader()
76 return make_error<RawError>(raw_error_code::corrupt_file, in readGSIHashRecords()
81 make_error<RawError>(raw_error_code::corrupt_file, in readGSIHashRecords()
100 make_error<RawError>(raw_error_code::corrupt_file, in readGSIHashBuckets()
109 make_error<RawError>(raw_error_code::corrupt_file, in readGSIHashBuckets()
DTpiStream.cpp43 return make_error<RawError>(raw_error_code::corrupt_file, in reload()
47 return make_error<RawError>(raw_error_code::corrupt_file, in reload()
51 return make_error<RawError>(raw_error_code::corrupt_file, in reload()
55 return make_error<RawError>(raw_error_code::corrupt_file, in reload()
59 return make_error<RawError>(raw_error_code::corrupt_file, in reload()
64 return make_error<RawError>(raw_error_code::corrupt_file, in reload()
80 return make_error<RawError>(raw_error_code::corrupt_file, in reload()
92 return make_error<RawError>( in reload()
DPDBStringTable.cpp33 return make_error<RawError>(raw_error_code::corrupt_file, in readHeader()
36 return make_error<RawError>(raw_error_code::corrupt_file, in readHeader()
50 make_error<RawError>(raw_error_code::corrupt_file, in readStrings()
70 make_error<RawError>(raw_error_code::corrupt_file, in readHashTable()
128 return make_error<RawError>(raw_error_code::no_entry); in getIDForString()
136 return make_error<RawError>(raw_error_code::no_entry); in getIDForString()
DHashTable.cpp31 make_error<RawError>(raw_error_code::corrupt_file, in readSparseBitVector()
38 make_error<RawError>(raw_error_code::corrupt_file, in readSparseBitVector()
56 make_error<RawError>(raw_error_code::corrupt_file, in writeSparseBitVector()
67 return joinErrors(std::move(EC), make_error<RawError>( in writeSparseBitVector()
DInfoStream.cpp32 make_error<RawError>(raw_error_code::corrupt_file, in reload()
42 return make_error<RawError>(raw_error_code::corrupt_file, in reload()
92 return make_error<RawError>(raw_error_code::no_stream); in getNamedStreamIndex()
DPDBFile.cpp116 return make_error<RawError>(raw_error_code::not_writable, in setBlockData()
127 return make_error<RawError>(raw_error_code::corrupt_file, in parseFileHeaders()
135 return make_error<RawError>(raw_error_code::corrupt_file, in parseFileHeaders()
221 return make_error<RawError>(raw_error_code::corrupt_file, in parseStreamData()
316 return make_error<RawError>(raw_error_code::no_stream); in getPDBIpiStream()
469 return make_error<RawError>(raw_error_code::no_stream); in safelyCreateIndexedStream()
DDbiStreamBuilder.cpp115 return make_error<RawError>(raw_error_code::no_entry, in getSourceFileNameIndex()
215 return make_error<RawError>(raw_error_code::no_entry, in generateFileInfoSubstream()
226 return make_error<RawError>(raw_error_code::invalid_format, in generateFileInfoSubstream()
230 return make_error<RawError>( in generateFileInfoSubstream()
414 return make_error<RawError>(raw_error_code::invalid_format, in commit()
DModuleDebugStream.cpp43 return make_error<RawError>(raw_error_code::corrupt_file, in reload()
73 return make_error<RawError>(raw_error_code::corrupt_file, in reload()
/external/llvm/include/llvm/DebugInfo/PDB/Raw/
DRawError.h32 class RawError : public ErrorInfo<RawError> {
35 RawError(raw_error_code C);
36 RawError(const std::string &Context);
37 RawError(raw_error_code C, const std::string &Context);
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/DebugInfo/PDB/Native/
DRawError.h36 class RawError : public ErrorInfo<RawError> {
39 RawError(raw_error_code C);
40 RawError(const std::string &Context);
41 RawError(raw_error_code C, const std::string &Context);
DHashTable.h129 return make_error<RawError>(raw_error_code::corrupt_file,
132 return make_error<RawError>(raw_error_code::corrupt_file,
140 return make_error<RawError>(raw_error_code::corrupt_file,
146 return make_error<RawError>(raw_error_code::corrupt_file,

12