2
0
Эх сурвалжийг харах

* 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 10 жил өмнө
parent
commit
1cdaf8e332

+ 1 - 3
compiler/llvm/agllvm.pas

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