Home
last modified time | relevance | path

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

/external/llvm-project/llvm/lib/ProfileData/Coverage/
DCoverageMappingReader.cpp49 if (ReadErr != coveragemap_error::success) in increment()
56 if (CME.get() == coveragemap_error::eof) in increment()
65 return make_error<CoverageMapError>(coveragemap_error::truncated); in readULEB128()
69 return make_error<CoverageMapError>(coveragemap_error::malformed); in readULEB128()
78 return make_error<CoverageMapError>(coveragemap_error::malformed); in readIntMax()
87 return make_error<CoverageMapError>(coveragemap_error::malformed); in readSize()
107 return make_error<CoverageMapError>(coveragemap_error::malformed); in read()
125 coveragemap_error::decompression_failed); in read()
141 coveragemap_error::decompression_failed); in read()
181 return make_error<CoverageMapError>(coveragemap_error::malformed); in decodeCounter()
[all …]
DCoverageMapping.cpp211 return make_error<CoverageMapError>(coveragemap_error::malformed); in loadFunctionRecord()
301 if (CME.get() == coveragemap_error::no_data_found) in handleMaybeNoDataFoundError()
340 return make_error<CoverageMapError>(coveragemap_error::no_data_found); in load()
803 static std::string getCoverageMapErrString(coveragemap_error Err) { in getCoverageMapErrString()
805 case coveragemap_error::success: in getCoverageMapErrString()
807 case coveragemap_error::eof: in getCoverageMapErrString()
809 case coveragemap_error::no_data_found: in getCoverageMapErrString()
811 case coveragemap_error::unsupported_version: in getCoverageMapErrString()
813 case coveragemap_error::truncated: in getCoverageMapErrString()
815 case coveragemap_error::malformed: in getCoverageMapErrString()
[all …]
/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-10.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.cpp211 return make_error<CoverageMapError>(coveragemap_error::malformed); in loadFunctionRecord()
300 if (CME.get() == coveragemap_error::no_data_found) in handleMaybeNoDataFoundError()
339 return make_error<CoverageMapError>(coveragemap_error::no_data_found); in load()
793 static std::string getCoverageMapErrString(coveragemap_error Err) { in getCoverageMapErrString()
795 case coveragemap_error::success: in getCoverageMapErrString()
797 case coveragemap_error::eof: in getCoverageMapErrString()
799 case coveragemap_error::no_data_found: in getCoverageMapErrString()
801 case coveragemap_error::unsupported_version: in getCoverageMapErrString()
803 case coveragemap_error::truncated: in getCoverageMapErrString()
805 case coveragemap_error::malformed: in getCoverageMapErrString()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ProfileData/Coverage/
DCoverageMappingReader.h48 coveragemap_error ReadErr;
54 : Reader(nullptr), Record(), ReadErr(coveragemap_error::success) {} in CoverageMappingIterator()
57 : Reader(Reader), Record(), ReadErr(coveragemap_error::success) { in CoverageMappingIterator()
62 if (ReadErr != coveragemap_error::success) in ~CoverageMappingIterator()
77 if (ReadErr != coveragemap_error::success) {
79 ReadErr = coveragemap_error::success;
85 if (ReadErr != coveragemap_error::success) {
87 ReadErr = coveragemap_error::success;
DCoverageMapping.h51 enum class coveragemap_error { enum
62 inline std::error_code make_error_code(coveragemap_error E) { in make_error_code()
68 CoverageMapError(coveragemap_error Err) : Err(Err) { in CoverageMapError()
69 assert(Err != coveragemap_error::success && "Not an error"); in CoverageMapError()
80 coveragemap_error get() const { return Err; } in get()
85 coveragemap_error Err;
718 return make_error<CoverageMapError>(coveragemap_error::malformed); in getFuncName()
/external/llvm-project/llvm/include/llvm/ProfileData/Coverage/
DCoverageMappingReader.h48 coveragemap_error ReadErr;
54 : Reader(nullptr), Record(), ReadErr(coveragemap_error::success) {} in CoverageMappingIterator()
57 : Reader(Reader), Record(), ReadErr(coveragemap_error::success) { in CoverageMappingIterator()
62 if (ReadErr != coveragemap_error::success) in ~CoverageMappingIterator()
77 if (ReadErr != coveragemap_error::success) {
79 ReadErr = coveragemap_error::success;
85 if (ReadErr != coveragemap_error::success) {
87 ReadErr = coveragemap_error::success;
DCoverageMapping.h51 enum class coveragemap_error { enum
64 inline std::error_code make_error_code(coveragemap_error E) { in make_error_code()
70 CoverageMapError(coveragemap_error Err) : Err(Err) { in CoverageMapError()
71 assert(Err != coveragemap_error::success && "Not an error"); in CoverageMapError()
82 coveragemap_error get() const { return Err; } in get()
87 coveragemap_error Err;
790 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/llvm-project/llvm/unittests/ProfileData/
DCoverageMappingTest.cpp26 ErrorEquals(coveragemap_error Expected, Error E) { in ErrorEquals()
27 coveragemap_error Found; in ErrorEquals()
94 return make_error<CoverageMapError>(coveragemap_error::eof); in readNextRecord()
335 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()