[PATCH] D104745: [llvm-cov] Enforce alignment of function records
Vedant Kumar via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 22 16:07:42 PDT 2021
vsk added a comment.
The requirement is that the advancing by sizeof(CovMapFunctionRecordV3) bytes in the record buffer advances to the start of the next record. The address of the buffer doesn't need the same alignment.
Are you seeing an alignment-related crash, and if so, have you tried addressing it by marking CovMapFunctionRecordV3 with LLVM_PACKED?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D104745/new/
https://reviews.llvm.org/D104745
More information about the llvm-commits
mailing list