Browse Source

* 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 năm trước cách đây
mục cha
commit
1cdaf8e332
1 tập tin đã thay đổi với 1 bổ sung3 xóa
  1. 1 3
      compiler/llvm/agllvm.pas

+ 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);