llvm-project/llvm/lib/ProfileData/Coverage
Fangrui Song 407c721ceb [Support] Change zlib::compress to return void
With a sufficiently large output buffer, the only failure is Z_MEM_ERROR.
Check it and call the noreturn report_bad_alloc_error if applicable.
resize_for_overwrite may call report_bad_alloc_error as well.

Now that there is no other error type, we can replace the return type with void
and simplify call sites.

Reviewed By: ikudrin

Differential Revision: https://reviews.llvm.org/D121512
2022-03-14 11:38:04 -07:00
..
CMakeLists.txt
CoverageMapping.cpp [CoverageMapping] Handle gaps in counter IDs for source-based coverage 2021-05-19 10:46:38 -07:00
CoverageMappingReader.cpp Cleanup LLVMObject headers 2022-02-10 21:13:44 +01:00
CoverageMappingWriter.cpp [Support] Change zlib::compress to return void 2022-03-14 11:38:04 -07:00