mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-29 21:20:24 +02:00
* create proper cfi, when registers are pushed
git-svn-id: branches/debug_eh@41382 -
This commit is contained in:
parent
38be96e586
commit
a8c8cc1890
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user