mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-06 03:50:02 +02:00
GP-5575 - PDB fix regression in using zero-sised base with no vbtable
This commit is contained in:
parent
27394cfb9c
commit
9b96306f80
1 changed files with 3 additions and 1 deletions
|
@ -1743,7 +1743,9 @@ public class CppCompositeType {
|
||||||
for (VirtualLayoutBaseClass base : reorderedVirtualBases) {
|
for (VirtualLayoutBaseClass base : reorderedVirtualBases) {
|
||||||
CppCompositeType baseType = base.getBaseClassType();
|
CppCompositeType baseType = base.getBaseClassType();
|
||||||
addPlaceholderVirtualBaseTableEntry(plvbt, vxtManager, base, off);
|
addPlaceholderVirtualBaseTableEntry(plvbt, vxtManager, base, off);
|
||||||
off += baseType.getSelfBaseType().getAlignedLength();
|
if (!baseType.hasZeroBaseSize) {
|
||||||
|
off += baseType.getSelfBaseType().getAlignedLength();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return plvbt;
|
return plvbt;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue