Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/ProfileData/Coverage/
H A DCoverageMappingReader.cpp51 if (ReadErr != coveragemap_error::success) in increment()
58 if (CME.get() == coveragemap_error::eof) in increment()
67 return make_error<CoverageMapError>(coveragemap_error::truncated); in readULEB128()
71 return make_error<CoverageMapError>(coveragemap_error::malformed, in readULEB128()
82 coveragemap_error::malformed, in readIntMax()
91 return make_error<CoverageMapError>(coveragemap_error::malformed, in readSize()
110 return make_error<CoverageMapError>(coveragemap_error::malformed, in read()
129 coveragemap_error::decompression_failed); in read()
143 coveragemap_error::decompression_failed); in read()
209 return make_error<CoverageMapError>(coveragemap_error::malformed, in decodeCounter()
[all …]
H A DCoverageMapping.cpp803 return make_error<CoverageMapError>(coveragemap_error::malformed, in loadFunctionRecord()
964 if (CME.get() == coveragemap_error::no_data_found) in handleMaybeNoDataFoundError()
1074 make_error<CoverageMapError>(coveragemap_error::no_data_found)); in load()
1571 static std::string getCoverageMapErrString(coveragemap_error Err, in getCoverageMapErrString()
1577 case coveragemap_error::success: in getCoverageMapErrString()
1580 case coveragemap_error::eof: in getCoverageMapErrString()
1583 case coveragemap_error::no_data_found: in getCoverageMapErrString()
1586 case coveragemap_error::unsupported_version: in getCoverageMapErrString()
1589 case coveragemap_error::truncated: in getCoverageMapErrString()
1592 case coveragemap_error::malformed: in getCoverageMapErrString()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/ProfileData/Coverage/
H A DCoverageMappingReader.h47 coveragemap_error ReadErr;
59 : Reader(nullptr), ReadErr(coveragemap_error::success) {} in CoverageMappingIterator()
62 : Reader(Reader), ReadErr(coveragemap_error::success) { in CoverageMappingIterator()
67 if (ReadErr != coveragemap_error::success) in ~CoverageMappingIterator()
82 if (ReadErr != coveragemap_error::success) {
84 ReadErr = coveragemap_error::success;
90 if (ReadErr != coveragemap_error::success) {
92 ReadErr = coveragemap_error::success;
H A DCoverageMapping.h61 enum class coveragemap_error { enum
74 inline std::error_code make_error_code(coveragemap_error E) { in make_error_code()
80 CoverageMapError(coveragemap_error Err, const Twine &ErrStr = Twine())
82 assert(Err != coveragemap_error::success && "Not an error"); in Err()
93 coveragemap_error get() const { return Err; } in get()
99 coveragemap_error Err;
1217 return make_error<CoverageMapError>(coveragemap_error::malformed, in getFuncName()