diff options
author | Vitaly Buka <vitalybuka@google.com> | 2020-12-04 23:46:58 -0800 |
---|---|---|
committer | Vitaly Buka <vitalybuka@google.com> | 2020-12-07 19:57:49 -0800 |
commit | 6e614b0c7ed3a9a66428f342bf2a4b3700525395 (patch) | |
tree | 273b867c03784cca3f974e910f63d3b55c30b842 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | |
parent | deac8b1f450ff7d2d00218d962c3e7e5ff1ff86e (diff) | |
download | llvm-6e614b0c7ed3a9a66428f342bf2a4b3700525395.zip llvm-6e614b0c7ed3a9a66428f342bf2a4b3700525395.tar.gz llvm-6e614b0c7ed3a9a66428f342bf2a4b3700525395.tar.bz2 |
[NFC][MSan] Round up OffsetPtr in PoisonMembers
getFieldOffset(layoutStartOffset) is expected to point to the first trivial
field or the one which follows non-trivial. So it must be byte aligned already.
However this is not obvious without assumptions about callers.
This patch will avoid the need in such assumptions.
Depends on D92727.
Differential Revision: https://reviews.llvm.org/D92728
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions