diff options
author | Abhina Sreeskantharajan <Abhina.Sreeskantharajan@ibm.com> | 2022-07-11 08:28:47 -0400 |
---|---|---|
committer | Abhina Sreeskantharajan <Abhina.Sreeskantharajan@ibm.com> | 2022-07-11 08:29:29 -0400 |
commit | 6e2329e33ae3f0239785af0fb69bf73ebe3b8899 (patch) | |
tree | 5f18391d9be5b70875bead121fe0e271da93321a /llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp | |
parent | 0a11ad2aa86aa6c7a0d4ac54099738f4206fa954 (diff) | |
download | llvm-6e2329e33ae3f0239785af0fb69bf73ebe3b8899.zip llvm-6e2329e33ae3f0239785af0fb69bf73ebe3b8899.tar.gz llvm-6e2329e33ae3f0239785af0fb69bf73ebe3b8899.tar.bz2 |
[SystemZ][z/OS] Force alignment to fix build failure on z/OS
The following commit https://reviews.llvm.org/D125998 added a static_assert which was triggered on z/OS because bitfields are always aligned to 1 regardless of type.
```
error: static_assert failed due to requirement 'alignof(llvm::SmallVector<llvm::MDOperand, 0>) <= alignof(llvm::MDNode::Header)' "LargeStorageVector too strongly aligned"
```
The solution was to force the alignment to be size_t.
Reviewed By: wolfgangp
Differential Revision: https://reviews.llvm.org/D129369
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp')
0 files changed, 0 insertions, 0 deletions