diff options
author | Igor Kudrin <ikudrin.dev@gmail.com> | 2016-05-18 07:43:27 +0000 |
---|---|---|
committer | Igor Kudrin <ikudrin.dev@gmail.com> | 2016-05-18 07:43:27 +0000 |
commit | eb10307347fee33b9dda7a9567e6d69534d6040d (patch) | |
tree | d89f5358a199acf48351465f5f380d7aec29d9c2 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 095fc41523134084d37f549bc1f89dbf95db5a73 (diff) | |
download | bcm5719-llvm-eb10307347fee33b9dda7a9567e6d69534d6040d.tar.gz bcm5719-llvm-eb10307347fee33b9dda7a9567e6d69534d6040d.zip |
[Coverage] Ensure that coverage mapping data has an expected alignment in 'covmapping' files.
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.
Differential Revision: http://reviews.llvm.org/D20285
llvm-svn: 269887
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions