dwarf-eh: don't emit header if there's no data to emit

This commit is contained in:
Jonas Maebe 2022-11-03 21:27:41 +01:00
parent 1b08b89b7b
commit c5cdfbd9c0

View File

@ -338,6 +338,8 @@ implementation
fdeofslabel, curpos: tasmlabel;
tc : tai_const;
begin
if DwarfList.Empty then
exit;
CurrentLSDALabel:=nil;
case datatype of
dt_none: