Coverage mapping data is organized in a sequence of blocks, each of which is expected
to be aligned by 8 bytes. This feature is used when reading those blocks, see
VersionedCovMapFuncRecordReader::readFunctionRecords(). If a misaligned covearge
mapping data has more than one block, it causes llvm-cov to fail.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
This lgtm with a nit.
lib/ProfileData/Coverage/CoverageMappingReader.cpp | ||
---|---|---|
496 | Could you use the truncated error for this (to match line 475)? |
Could you use the truncated error for this (to match line 475)?