Home
last modified time | relevance | path

Searched refs:coveragemap_error (Results 1 – 9 of 9) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/lib/ProfileData/Coverage/
DCoverageMappingReader.cpp44 if (ReadErr != coveragemap_error::success) in increment()
51 if (CME.get() == coveragemap_error::eof) in increment()
60 return make_error<CoverageMapError>(coveragemap_error::truncated); in readULEB128()
64 return make_error<CoverageMapError>(coveragemap_error::malformed); in readULEB128()
73 return make_error<CoverageMapError>(coveragemap_error::malformed); in readIntMax()
82 return make_error<CoverageMapError>(coveragemap_error::malformed); in readSize()
126 return make_error<CoverageMapError>(coveragemap_error::malformed); in decodeCounter()
132 return make_error<CoverageMapError>(coveragemap_error::malformed); in decodeCounter()
181 return make_error<CoverageMapError>(coveragemap_error::malformed); in readMappingRegionsSubArray()
192 return make_error<CoverageMapError>(coveragemap_error::malformed); in readMappingRegionsSubArray()
[all …]
DCoverageMapping.cpp203 return make_error<CoverageMapError>(coveragemap_error::malformed); in loadFunctionRecord()
736 static std::string getCoverageMapErrString(coveragemap_error Err) { in getCoverageMapErrString()
738 case coveragemap_error::success: in getCoverageMapErrString()
740 case coveragemap_error::eof: in getCoverageMapErrString()
742 case coveragemap_error::no_data_found: in getCoverageMapErrString()
744 case coveragemap_error::unsupported_version: in getCoverageMapErrString()
746 case coveragemap_error::truncated: in getCoverageMapErrString()
748 case coveragemap_error::malformed: in getCoverageMapErrString()
762 return getCoverageMapErrString(static_cast<coveragemap_error>(IE)); in message()
/external/llvm/lib/ProfileData/Coverage/
DCoverageMappingReader.cpp36 if (CME.get() == coveragemap_error::eof) in increment()
46 return make_error<CoverageMapError>(coveragemap_error::truncated); in readULEB128()
50 return make_error<CoverageMapError>(coveragemap_error::malformed); in readULEB128()
59 return make_error<CoverageMapError>(coveragemap_error::malformed); in readIntMax()
68 return make_error<CoverageMapError>(coveragemap_error::malformed); in readSize()
112 return make_error<CoverageMapError>(coveragemap_error::malformed); in decodeCounter()
118 return make_error<CoverageMapError>(coveragemap_error::malformed); in decodeCounter()
167 return make_error<CoverageMapError>(coveragemap_error::malformed); in readMappingRegionsSubArray()
178 return make_error<CoverageMapError>(coveragemap_error::malformed); in readMappingRegionsSubArray()
191 return make_error<CoverageMapError>(coveragemap_error::malformed); in readMappingRegionsSubArray()
[all …]
DCoverageMapping.cpp541 std::string getCoverageMapErrString(coveragemap_error Err) { in getCoverageMapErrString()
543 case coveragemap_error::success: in getCoverageMapErrString()
545 case coveragemap_error::eof: in getCoverageMapErrString()
547 case coveragemap_error::no_data_found: in getCoverageMapErrString()
549 case coveragemap_error::unsupported_version: in getCoverageMapErrString()
551 case coveragemap_error::truncated: in getCoverageMapErrString()
553 case coveragemap_error::malformed: in getCoverageMapErrString()
565 return getCoverageMapErrString(static_cast<coveragemap_error>(IE)); in message()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ProfileData/Coverage/
DCoverageMappingReader.h49 coveragemap_error ReadErr;
55 : Reader(nullptr), Record(), ReadErr(coveragemap_error::success) {} in CoverageMappingIterator()
58 : Reader(Reader), Record(), ReadErr(coveragemap_error::success) { in CoverageMappingIterator()
63 if (ReadErr != coveragemap_error::success) in ~CoverageMappingIterator()
78 if (ReadErr != coveragemap_error::success) {
80 ReadErr = coveragemap_error::success;
86 if (ReadErr != coveragemap_error::success) {
88 ReadErr = coveragemap_error::success;
DCoverageMapping.h52 enum class coveragemap_error { enum
63 inline std::error_code make_error_code(coveragemap_error E) { in make_error_code()
69 CoverageMapError(coveragemap_error Err) : Err(Err) { in CoverageMapError()
70 assert(Err != coveragemap_error::success && "Not an error"); in CoverageMapError()
81 coveragemap_error get() const { return Err; } in get()
86 coveragemap_error Err;
716 return make_error<CoverageMapError>(coveragemap_error::malformed); in getFuncName()
/external/llvm/include/llvm/ProfileData/Coverage/
DCoverageMapping.h33 enum class coveragemap_error { enum
44 inline std::error_code make_error_code(coveragemap_error E) { in make_error_code()
50 CoverageMapError(coveragemap_error Err) : Err(Err) { in CoverageMapError()
51 assert(Err != coveragemap_error::success && "Not an error"); in CoverageMapError()
62 coveragemap_error get() const { return Err; } in get()
67 coveragemap_error Err;
526 return make_error<CoverageMapError>(coveragemap_error::malformed); in getFuncName()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ProfileData/
DCoverageMappingTest.cpp27 ErrorEquals(coveragemap_error Expected, Error E) { in ErrorEquals()
28 coveragemap_error Found; in ErrorEquals()
95 return make_error<CoverageMapError>(coveragemap_error::eof); in readNextRecord()
336 EXPECT_TRUE(ErrorEquals(coveragemap_error::malformed, loadCoverageMapping())); in TEST_P()
/external/llvm/unittests/ProfileData/
DCoverageMappingTest.cpp75 return make_error<CoverageMapError>(coveragemap_error::eof); in readNextRecord()