mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-19 12:29:30 +02:00
FpDebug: Don't create empty CFA entries
This commit is contained in:
parent
0e3a451627
commit
4e543b65ce
@ -4151,9 +4151,11 @@ begin
|
||||
for i := 0 to high(FFiles) do
|
||||
begin
|
||||
inf := FFiles[i].Sections[dsFrame];
|
||||
if inf.Size = 0 then
|
||||
continue;
|
||||
|
||||
CFI := TDwarfCallFrameInformation.Create;
|
||||
FCallFrameInformationList.Add(CFI);
|
||||
|
||||
p := inf.RawData;
|
||||
pe := inf.RawData + inf.Size;
|
||||
while (p <> nil) and (p < pe) do
|
||||
|
Loading…
Reference in New Issue
Block a user