Explorar el Código

* don't write external linkage for aliases: llvm 3.6 has a bug that rejects
linkage types for aliases (or its documentation hasn't been updated), and
external linkage is the default so it doesn't matter for earlier versions

git-svn-id: trunk@31284 -

Jonas Maebe hace 10 años
padre
commit
1cdaf8e332
Se han modificado 1 ficheros con 1 adiciones y 3 borrados
  1. 1 3
      compiler/llvm/agllvm.pas

+ 1 - 3
compiler/llvm/agllvm.pas

@@ -946,9 +946,7 @@ implementation
                   str(taillvmalias(hp).linkage, s);
                   str(taillvmalias(hp).linkage, s);
                   asmwrite(copy(s, length('lll_')+1, 255));
                   asmwrite(copy(s, length('lll_')+1, 255));
                   asmwrite(' ');
                   asmwrite(' ');
-                end
-              else
-                asmwrite('external ');
+                end;
               if taillvmalias(hp).vis<>llv_default then
               if taillvmalias(hp).vis<>llv_default then
                 begin
                 begin
                   str(taillvmalias(hp).vis, s);
                   str(taillvmalias(hp).vis, s);