Browse Source

* ignore global labels with a comment for now, they're generated for
function symbol aliases

git-svn-id: branches/hlcgllvm@27014 -

Jonas Maebe 11 years ago
parent
commit
0fd172ddf6
1 changed files with 2 additions and 1 deletions
  1. 2 1
      compiler/llvm/agllvm.pas

+ 2 - 1
compiler/llvm/agllvm.pas

@@ -584,7 +584,8 @@ implementation
                   if tai_label(hp).labsym.bind in [AB_GLOBAL,AB_PRIVATE_EXTERN] then
                    begin
                      { should be emitted as part of the variable/function def }
-                     internalerror(2013010704);
+                     //internalerror(2013010704);
+                     AsmWriteln(target_asm.comment+'global/privateextern label: '+tai_label(hp).labsym.name);
                    end;
                   if replaceforbidden then
                     AsmWrite(ReplaceForbiddenAsmSymbolChars(tai_label(hp).labsym.name))