mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-20 18:29:28 +02:00
* Reset unwind_info.flags between procedures. Writing non-zero flags without handler ends up in corrupt unwind info.
git-svn-id: trunk@19403 -
This commit is contained in:
parent
05ca66adf8
commit
a463fbc578
@ -255,6 +255,7 @@ begin
|
||||
FPrologueEndPos:=0;
|
||||
FPrologueEndSeen:=false;
|
||||
FHandler:=nil;
|
||||
FFlags:=0;
|
||||
end;
|
||||
|
||||
procedure TWin64CFI.end_frame(objdata:TObjData);
|
||||
@ -274,6 +275,7 @@ begin
|
||||
Message(asmw_w_missing_endprologue);
|
||||
FFrameStartSym:=nil;
|
||||
FHandler:=nil;
|
||||
FFlags:=0;
|
||||
stringdispose(FName);
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user