Ver Fonte

Disable limitation of nonlocal setting for LLVM compiler

Pierre Muller há 5 meses atrás
pai
commit
e749c81040
1 ficheiros alterados com 4 adições e 0 exclusões
  1. 4 0
      compiler/rautils.pas

+ 4 - 0
compiler/rautils.pas

@@ -1781,7 +1781,11 @@ Begin
       begin
         if symtablestack.top.symtablelevel<>srsymtable.symtablelevel then
           begin
+{$ifndef LLVM}
+	    { LLVM compiler requires that the static label RawThunkEnd
+             in packages/rtl-objpas/src/rtti.pp unit is set to nonlocal }
             if (srsymtable.symtabletype=globalsymtable) or create_smartlink_library then
+{$endif LLVM}
               Tlabelsym(sym).nonlocal:=true;
             if emit then
               include(current_procinfo.flags,pi_has_interproclabel);