mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-17 19:11:03 +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;
|
FPrologueEndPos:=0;
|
||||||
FPrologueEndSeen:=false;
|
FPrologueEndSeen:=false;
|
||||||
FHandler:=nil;
|
FHandler:=nil;
|
||||||
|
FFlags:=0;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure TWin64CFI.end_frame(objdata:TObjData);
|
procedure TWin64CFI.end_frame(objdata:TObjData);
|
||||||
@ -274,6 +275,7 @@ begin
|
|||||||
Message(asmw_w_missing_endprologue);
|
Message(asmw_w_missing_endprologue);
|
||||||
FFrameStartSym:=nil;
|
FFrameStartSym:=nil;
|
||||||
FHandler:=nil;
|
FHandler:=nil;
|
||||||
|
FFlags:=0;
|
||||||
stringdispose(FName);
|
stringdispose(FName);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user