Home
last modified time | relevance | path

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

123

/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()
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()
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()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/PDB/Native/
DDbiStream.cpp37 return make_error<RawError>( in loadSectionContribs()
56 return make_error<RawError>(raw_error_code::corrupt_file, in reload()
59 return make_error<RawError>(raw_error_code::corrupt_file, in reload()
63 return make_error<RawError>(raw_error_code::corrupt_file, in reload()
70 return make_error<RawError>(raw_error_code::feature_unsupported, in reload()
78 return make_error<RawError>(raw_error_code::corrupt_file, in reload()
84 return make_error<RawError>(raw_error_code::corrupt_file, in reload()
87 return make_error<RawError>( in reload()
91 return make_error<RawError>(raw_error_code::corrupt_file, in reload()
94 return make_error<RawError>(raw_error_code::corrupt_file, in reload()
[all …]
DPublicsStream.cpp64 return make_error<RawError>(raw_error_code::corrupt_file, in reload()
69 return make_error<RawError>(raw_error_code::corrupt_file, in reload()
80 make_error<RawError>(raw_error_code::corrupt_file, in reload()
86 make_error<RawError>(raw_error_code::corrupt_file, in reload()
93 make_error<RawError>(raw_error_code::corrupt_file, in reload()
98 return make_error<RawError>(raw_error_code::corrupt_file, in reload()
DGlobalsStream.cpp86 return make_error<RawError>( in checkHashHdrVersion()
96 return make_error<RawError>(raw_error_code::corrupt_file, in readGSIHashHeader()
100 return make_error<RawError>( in readGSIHashHeader()
116 return make_error<RawError>(raw_error_code::corrupt_file, in readGSIHashRecords()
121 make_error<RawError>(raw_error_code::corrupt_file, in readGSIHashRecords()
142 make_error<RawError>(raw_error_code::corrupt_file, in readGSIHashBuckets()
165 make_error<RawError>(raw_error_code::corrupt_file, in readGSIHashBuckets()
DPDBStringTable.cpp32 return make_error<RawError>(raw_error_code::corrupt_file, in readHeader()
35 return make_error<RawError>(raw_error_code::corrupt_file, in readHeader()
49 make_error<RawError>(raw_error_code::corrupt_file, in readStrings()
69 make_error<RawError>(raw_error_code::corrupt_file, in readHashTable()
127 return make_error<RawError>(raw_error_code::no_entry); in getIDForString()
135 return make_error<RawError>(raw_error_code::no_entry); in getIDForString()
DTpiStream.cpp45 return make_error<RawError>(raw_error_code::corrupt_file, in reload()
49 return make_error<RawError>(raw_error_code::corrupt_file, in reload()
53 return make_error<RawError>(raw_error_code::corrupt_file, in reload()
57 return make_error<RawError>(raw_error_code::corrupt_file, in reload()
61 return make_error<RawError>(raw_error_code::corrupt_file, in reload()
66 return make_error<RawError>(raw_error_code::corrupt_file, in reload()
84 return make_error<RawError>(raw_error_code::corrupt_file, in reload()
93 return make_error<RawError>( in reload()
DHashTable.cpp30 make_error<RawError>(raw_error_code::corrupt_file, in readSparseBitVector()
37 make_error<RawError>(raw_error_code::corrupt_file, in readSparseBitVector()
55 make_error<RawError>(raw_error_code::corrupt_file, in writeSparseBitVector()
66 return joinErrors(std::move(EC), make_error<RawError>( in writeSparseBitVector()
DInjectedSourceStream.cpp36 return make_error<RawError>(raw_error_code::corrupt_file, in reload()
44 return make_error<RawError>(raw_error_code::corrupt_file, in reload()
48 return make_error<RawError>(raw_error_code::corrupt_file, in reload()
/external/llvm-project/llvm/lib/DebugInfo/PDB/Native/
DDbiStream.cpp37 return make_error<RawError>( in loadSectionContribs()
56 return make_error<RawError>(raw_error_code::corrupt_file, in reload()
59 return make_error<RawError>(raw_error_code::corrupt_file, in reload()
63 return make_error<RawError>(raw_error_code::corrupt_file, in reload()
70 return make_error<RawError>(raw_error_code::feature_unsupported, in reload()
78 return make_error<RawError>(raw_error_code::corrupt_file, in reload()
84 return make_error<RawError>(raw_error_code::corrupt_file, in reload()
87 return make_error<RawError>( in reload()
91 return make_error<RawError>(raw_error_code::corrupt_file, in reload()
94 return make_error<RawError>(raw_error_code::corrupt_file, in reload()
[all …]
DPublicsStream.cpp64 return make_error<RawError>(raw_error_code::corrupt_file, in reload()
69 return make_error<RawError>(raw_error_code::corrupt_file, in reload()
80 make_error<RawError>(raw_error_code::corrupt_file, in reload()
86 make_error<RawError>(raw_error_code::corrupt_file, in reload()
93 make_error<RawError>(raw_error_code::corrupt_file, in reload()
98 return make_error<RawError>(raw_error_code::corrupt_file, in reload()
DGlobalsStream.cpp86 return make_error<RawError>( in checkHashHdrVersion()
96 return make_error<RawError>(raw_error_code::corrupt_file, in readGSIHashHeader()
100 return make_error<RawError>( in readGSIHashHeader()
116 return make_error<RawError>(raw_error_code::corrupt_file, in readGSIHashRecords()
121 make_error<RawError>(raw_error_code::corrupt_file, in readGSIHashRecords()
142 make_error<RawError>(raw_error_code::corrupt_file, in readGSIHashBuckets()
165 make_error<RawError>(raw_error_code::corrupt_file, in readGSIHashBuckets()
DPDBStringTable.cpp32 return make_error<RawError>(raw_error_code::corrupt_file, in readHeader()
35 return make_error<RawError>(raw_error_code::corrupt_file, in readHeader()
49 make_error<RawError>(raw_error_code::corrupt_file, in readStrings()
69 make_error<RawError>(raw_error_code::corrupt_file, in readHashTable()
127 return make_error<RawError>(raw_error_code::no_entry); in getIDForString()
135 return make_error<RawError>(raw_error_code::no_entry); in getIDForString()
DTpiStream.cpp45 return make_error<RawError>(raw_error_code::corrupt_file, in reload()
49 return make_error<RawError>(raw_error_code::corrupt_file, in reload()
53 return make_error<RawError>(raw_error_code::corrupt_file, in reload()
57 return make_error<RawError>(raw_error_code::corrupt_file, in reload()
61 return make_error<RawError>(raw_error_code::corrupt_file, in reload()
66 return make_error<RawError>(raw_error_code::corrupt_file, in reload()
84 return make_error<RawError>(raw_error_code::corrupt_file, in reload()
93 return make_error<RawError>( in reload()
DHashTable.cpp30 make_error<RawError>(raw_error_code::corrupt_file, in readSparseBitVector()
37 make_error<RawError>(raw_error_code::corrupt_file, in readSparseBitVector()
55 make_error<RawError>(raw_error_code::corrupt_file, in writeSparseBitVector()
66 return joinErrors(std::move(EC), make_error<RawError>( in writeSparseBitVector()
DInjectedSourceStream.cpp36 return make_error<RawError>(raw_error_code::corrupt_file, in reload()
44 return make_error<RawError>(raw_error_code::corrupt_file, in reload()
48 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-10.0/llvm/include/llvm/DebugInfo/PDB/Native/
DRawError.h50 class RawError : public ErrorInfo<RawError, StringError> {
52 using ErrorInfo<RawError, StringError>::ErrorInfo; // inherit constructors
53 RawError(const Twine &S) : ErrorInfo(S, raw_error_code::unspecified) {}
/external/llvm-project/llvm/include/llvm/DebugInfo/PDB/Native/
DRawError.h50 class RawError : public ErrorInfo<RawError, StringError> {
52 using ErrorInfo<RawError, StringError>::ErrorInfo; // inherit constructors
53 RawError(const Twine &S) : ErrorInfo(S, raw_error_code::unspecified) {}

123