GP-5575 - PDB fix regression in using zero-sised base with no vbtable

This commit is contained in:
ghizard 2025-04-09 05:54:32 -04:00
parent 27394cfb9c
commit 9b96306f80

View file

@ -1743,8 +1743,10 @@ public class CppCompositeType {
for (VirtualLayoutBaseClass base : reorderedVirtualBases) {
CppCompositeType baseType = base.getBaseClassType();
addPlaceholderVirtualBaseTableEntry(plvbt, vxtManager, base, off);
if (!baseType.hasZeroBaseSize) {
off += baseType.getSelfBaseType().getAlignedLength();
}
}
return plvbt;
}
else {