We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e2cb121 commit 5d4c1c0Copy full SHA for 5d4c1c0
llvm/lib/DebugInfo/CodeView/TypeStreamMerger.cpp
@@ -389,11 +389,9 @@ ArrayRef<uint8_t>
389
TypeStreamMerger::remapIndices(const CVType &OriginalType,
390
MutableArrayRef<uint8_t> Storage) {
391
unsigned Align = OriginalType.RecordData.size() & 3;
392
- unsigned AlignedSize = alignTo(OriginalType.RecordData.size(), 4);
393
- assert(Storage.size() == AlignedSize &&
+ assert(Storage.size() == alignTo(OriginalType.RecordData.size(), 4) &&
394
"The storage buffer size is not a multiple of 4 bytes which will "
395
"cause misalignment in the output TPI stream!");
396
- (void)AlignedSize;
397
398
SmallVector<TiReference, 4> Refs;
399
discoverTypeIndices(OriginalType.RecordData, Refs);
0 commit comments