* create proper cfi, when registers are pushed

git-svn-id: branches/debug_eh@41382 -
This commit is contained in:
florian 2019-02-19 22:16:39 +00:00
parent 38be96e586
commit a8c8cc1890

View File

@ -3408,7 +3408,10 @@ unit cgx86;
if current_procinfo.framepointer<>NR_STACK_POINTER_REG then
current_asmdata.asmcfi.cfa_offset(list,hreg,-(regsize+sizeof(pint)*2+localsize))
else
current_asmdata.asmcfi.cfa_offset(list,hreg,-(regsize+sizeof(pint)+localsize));
begin
current_asmdata.asmcfi.cfa_offset(list,hreg,-(regsize+sizeof(pint)+localsize));
current_asmdata.asmcfi.cfa_def_cfa_offset(list,regsize+localsize+sizeof(pint));
end;
end;
end;