Try to avoid clang error on global labels inside .cfi_start/.cfi_end pairs

(cherry picked from commit 13a5cdb8fa)
This commit is contained in:
Pierre Muller 2024-12-05 17:59:59 +01:00
parent 2789efa067
commit 7fc1f697e9

View File

@ -1656,7 +1656,8 @@ Begin
begin
if symtablestack.top.symtablelevel<>srsymtable.symtablelevel then
begin
Tlabelsym(sym).nonlocal:=true;
if (srsymtable.symtabletype=globalsymtable) or create_smartlink_library then
Tlabelsym(sym).nonlocal:=true;
if emit then
exclude(current_procinfo.procdef.procoptions,po_inline);
end;