Home
last modified time | relevance | path

Searched refs:cv_error_code (Results 1 – 12 of 12) sorted by relevance

/external/llvm/lib/DebugInfo/CodeView/
DCodeViewError.cpp26 switch (static_cast<cv_error_code>(Condition)) { in message()
27 case cv_error_code::unspecified: in message()
29 case cv_error_code::insufficient_buffer: in message()
32 case cv_error_code::corrupt_record: in message()
34 case cv_error_code::operation_unsupported: in message()
46 CodeViewError::CodeViewError(cv_error_code C) : CodeViewError(C, "") {} in CodeViewError()
49 : CodeViewError(cv_error_code::unspecified, Context) {} in CodeViewError()
51 CodeViewError::CodeViewError(cv_error_code C, const std::string &Context) in CodeViewError()
55 if (Code != cv_error_code::unspecified) in CodeViewError()
DByteStream.cpp20 return make_error<CodeViewError>(cv_error_code::operation_unsupported, in writeBytes()
27 return make_error<CodeViewError>(cv_error_code::insufficient_buffer); in writeBytes()
29 return make_error<CodeViewError>(cv_error_code::insufficient_buffer); in writeBytes()
39 return make_error<CodeViewError>(cv_error_code::insufficient_buffer); in readBytes()
41 return make_error<CodeViewError>(cv_error_code::insufficient_buffer); in readBytes()
50 return make_error<CodeViewError>(cv_error_code::insufficient_buffer); in readLongestContiguousChunk()
DCVTypeVisitor.cpp18 return llvm::make_error<CodeViewError>(cv_error_code::insufficient_buffer); in takeObject()
49 return llvm::make_error<CodeViewError>(cv_error_code::corrupt_record); \ in visitTypeRecord()
83 return llvm::make_error<CodeViewError>(cv_error_code::corrupt_record, in skipPadding()
104 return llvm::make_error<CodeViewError>(cv_error_code::corrupt_record); in visitFieldList()
110 return llvm::make_error<CodeViewError>(cv_error_code::corrupt_record); \ in visitFieldList()
DStreamReader.cpp89 return make_error<CodeViewError>(cv_error_code::insufficient_buffer); in readStreamRef()
DTypeStreamMerger.cpp132 return llvm::make_error<CodeViewError>(cv_error_code::corrupt_record); in visitUnknownType()
/external/llvm/include/llvm/DebugInfo/CodeView/
DCodeViewError.h19 enum class cv_error_code { enum
30 CodeViewError(cv_error_code C);
32 CodeViewError(cv_error_code C, const std::string &Context);
40 cv_error_code Code;
DStreamRef.h33 return make_error<CodeViewError>(cv_error_code::insufficient_buffer); in readBytes()
35 return make_error<CodeViewError>(cv_error_code::insufficient_buffer); in readBytes()
44 return make_error<CodeViewError>(cv_error_code::insufficient_buffer); in readLongestContiguousChunk()
59 return make_error<CodeViewError>(cv_error_code::insufficient_buffer); in writeBytes()
DStreamReader.h65 return make_error<CodeViewError>(cv_error_code::insufficient_buffer); in readArray()
90 return make_error<CodeViewError>(cv_error_code::corrupt_record); in readArray()
92 return make_error<CodeViewError>(cv_error_code::insufficient_buffer); in readArray()
DModuleSubstreamVisitor.h44 return make_error<CodeViewError>(cv_error_code::corrupt_record, in operator()
48 return make_error<CodeViewError>(cv_error_code::corrupt_record, in operator()
DCVRecord.h41 return make_error<CodeViewError>(cv_error_code::corrupt_record);
DStreamWriter.h58 return make_error<CodeViewError>(cv_error_code::insufficient_buffer); in writeArray()
/external/llvm/unittests/DebugInfo/PDB/
DMappedBlockStreamTest.cpp72 return make_error<CodeViewError>(cv_error_code::insufficient_buffer); in setBlockData()
74 return make_error<CodeViewError>(cv_error_code::insufficient_buffer); in setBlockData()