Browse Source

* handle AB_INDIRECT and AB_EXTERNAL_INDIRECT in the llvm assembler writer

git-svn-id: trunk@33721 -
Jonas Maebe 9 years ago
parent
commit
44839ba0c0
1 changed files with 4 additions and 2 deletions
  1. 4 2
      compiler/llvm/agllvm.pas

+ 4 - 2
compiler/llvm/agllvm.pas

@@ -731,13 +731,15 @@ implementation
       procedure WriteLinkageVibilityFlags(bind: TAsmSymBind);
         begin
           case bind of
-             AB_EXTERNAL:
+             AB_EXTERNAL,
+             AB_EXTERNAL_INDIRECT:
                writer.AsmWrite(' external');
              AB_COMMON:
                writer.AsmWrite(' common');
              AB_LOCAL:
                writer.AsmWrite(' internal');
-             AB_GLOBAL:
+             AB_GLOBAL,
+             AB_INDIRECT:
                writer.AsmWrite('');
              AB_WEAK_EXTERNAL:
                writer.AsmWrite(' extern_weak');