mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-17 04:29:25 +02:00
FpDebug: Workaround for dangling pointer to FScanAllWorker.FScanScopeList (in FCompUnitScope.FScopeListPtr), set by FScanScopeList.BuildList.
(cherry picked from commit 915fbfa830
)
This commit is contained in:
parent
a8d568ef55
commit
e15e4a1843
@ -4081,6 +4081,9 @@ function TFpThreadWorkerScanAll.FindCompileUnit: TDwarfScopeInfo;
|
||||
begin
|
||||
Result := FScanScopeList.BuildList(FCU.FAbbrevList, FCU.FInfoData, FCU.FLength,
|
||||
FCU.FAddressSize, FCU.IsDwarf64, FCU.Version, DW_TAG_compile_unit);
|
||||
|
||||
FCU.FScopeList := FScanScopeList;
|
||||
Result.FScopeListPtr := @FCU.FScopeList;
|
||||
end;
|
||||
|
||||
{ TFpThreadWorkerComputeNameHashes }
|
||||
|
Loading…
Reference in New Issue
Block a user