mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-11-14 18:39:36 +01:00
* add padding byte fields all as unsigned, as that is also how we
generate them in aasmcnst git-svn-id: trunk@32717 -
This commit is contained in:
parent
abcf441c00
commit
00c777e51a
@ -1860,7 +1860,7 @@ implementation
|
|||||||
{ curoffset: address right after the previous field }
|
{ curoffset: address right after the previous field }
|
||||||
while (fieldoffset>curroffset) do
|
while (fieldoffset>curroffset) do
|
||||||
begin
|
begin
|
||||||
symdeflist.add(tllvmshadowsymtableentry.create(s8inttype,curroffset));
|
symdeflist.add(tllvmshadowsymtableentry.create(u8inttype,curroffset));
|
||||||
inc(curroffset);
|
inc(curroffset);
|
||||||
end;
|
end;
|
||||||
symdeflist.add(tllvmshadowsymtableentry.create(vardef,fieldoffset));
|
symdeflist.add(tllvmshadowsymtableentry.create(vardef,fieldoffset));
|
||||||
@ -1887,7 +1887,7 @@ implementation
|
|||||||
{ add padding fields }
|
{ add padding fields }
|
||||||
while (finalsize>curroffset) do
|
while (finalsize>curroffset) do
|
||||||
begin
|
begin
|
||||||
symdeflist.add(tllvmshadowsymtableentry.create(s8inttype,curroffset));
|
symdeflist.add(tllvmshadowsymtableentry.create(u8inttype,curroffset));
|
||||||
inc(curroffset);
|
inc(curroffset);
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user