mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-13 13:49:17 +02:00
internalerror if the section we're about to keep has no exesection assigned
This commit is contained in:
parent
4e3a6aa5a8
commit
e018264ad9
@ -3523,6 +3523,8 @@ implementation
|
||||
while ObjSectionWorkList.Count>0 do
|
||||
begin
|
||||
objsec:=TObjSection(ObjSectionWorkList.Last);
|
||||
if not assigned(objsec.exesection) then
|
||||
internalerror(202102001);
|
||||
if assigned(exemap) then
|
||||
exemap.Add('Keeping '+objsec.FullName+' '+ToStr(objsec.ObjRelocations.Count)+' references');
|
||||
ObjSectionWorkList.Delete(ObjSectionWorkList.Count-1);
|
||||
|
Loading…
Reference in New Issue
Block a user