* handle AB_INDIRECT and AB_EXTERNAL_INDIRECT in the llvm assembler writer

git-svn-id: trunk@33721 -
This commit is contained in:
Jonas Maebe 2016-05-20 20:51:28 +00:00
parent 4fff9645af
commit 44839ba0c0

View File

@ -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');