aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp
diff options
context:
space:
mode:
authorAbhina Sreeskantharajan <Abhina.Sreeskantharajan@ibm.com>2022-07-11 08:28:47 -0400
committerAbhina Sreeskantharajan <Abhina.Sreeskantharajan@ibm.com>2022-07-11 08:29:29 -0400
commit6e2329e33ae3f0239785af0fb69bf73ebe3b8899 (patch)
tree5f18391d9be5b70875bead121fe0e271da93321a /llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp
parent0a11ad2aa86aa6c7a0d4ac54099738f4206fa954 (diff)
downloadllvm-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