diff options
Diffstat (limited to 'llvm/unittests/ProfileData/CoverageMappingTest.cpp')
-rw-r--r-- | llvm/unittests/ProfileData/CoverageMappingTest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/unittests/ProfileData/CoverageMappingTest.cpp b/llvm/unittests/ProfileData/CoverageMappingTest.cpp index d788a6140e0..81e9cb13233 100644 --- a/llvm/unittests/ProfileData/CoverageMappingTest.cpp +++ b/llvm/unittests/ProfileData/CoverageMappingTest.cpp @@ -72,12 +72,12 @@ struct CoverageMappingReaderMock : CoverageMappingReader { std::error_code readNextRecord(CoverageMappingRecord &Record) override { if (Functions.empty()) - return instrprof_error::eof; + return coveragemap_error::eof; Functions.front().fillCoverageMappingRecord(Record); Functions = Functions.slice(1); - return instrprof_error::success; + return coveragemap_error::success; } }; |