Change-Id: I6f86a9f44e6d0044b66a6552fb9c1dbf21a1803c
Reviewed-on: https://gerrit.libreoffice.org/69359
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
This commit is contained in:
Andrea Gelmini
2019-03-16 13:31:20 +00:00
committed by Julien Nabet
parent 218916eb47
commit 0c7009e751

View File

@@ -113,7 +113,7 @@ for line in read_generator():
# re-organising them can make them much less readable.
if foundHole and len(structLines) < 12 and structSize < 100 and not foundBogusLine:
# Verify that we have enough hole-space that removing it will result in a structure
# that still satifies alignment requirements, otherwise the compiler will just put empty
# that still satisfies alignment requirements, otherwise the compiler will just put empty
# space at the end of the struct.
# TODO improve detection of the required alignment for a structure
potentialSpace = (cumulativeHoleBits / 8) + (sizeOfFields - structSize)
@@ -130,4 +130,4 @@ for line in read_generator():
foundBogusLine = False
actualStructSize = 0
gdbProc.terminate()
gdbProc.terminate()