mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-16 18:39:19 +02:00
dwarf-eh: don't emit header if there's no data to emit
This commit is contained in:
parent
1b08b89b7b
commit
c5cdfbd9c0
@ -338,6 +338,8 @@ implementation
|
|||||||
fdeofslabel, curpos: tasmlabel;
|
fdeofslabel, curpos: tasmlabel;
|
||||||
tc : tai_const;
|
tc : tai_const;
|
||||||
begin
|
begin
|
||||||
|
if DwarfList.Empty then
|
||||||
|
exit;
|
||||||
CurrentLSDALabel:=nil;
|
CurrentLSDALabel:=nil;
|
||||||
case datatype of
|
case datatype of
|
||||||
dt_none:
|
dt_none:
|
||||||
|
Loading…
Reference in New Issue
Block a user