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 f5fca25 commit eaea17dCopy full SHA for eaea17d
clang/lib/CIR/CodeGen/CIRGenItaniumCXXABI.cpp
@@ -1990,7 +1990,7 @@ CharUnits CIRGenItaniumCXXABI::getArrayCookieSizeImpl(QualType elementType) {
1990
// The array cookie is a size_t; pad that up to the element alignment.
1991
// The cookie is actually right-justified in that space.
1992
return std::max(
1993
- CharUnits::fromQuantity(cgm.SizeSizeInBytes),
+ cgm.getSizeSize(),
1994
cgm.getASTContext().getPreferredTypeAlignInChars(elementType));
1995
}
1996
0 commit comments