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
- Repository
- rL LLVM
Event Timeline
Comment Actions
This lgtm with a nit.
lib/ProfileData/Coverage/CoverageMappingReader.cpp | ||
---|---|---|
496 ↗ | (On Diff #57341) | Could you use the truncated error for this (to match line 475)? |