From ed7d283ce5d205309dd0adf35496c5ecd29d70c5 Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Mon, 9 Jun 2014 21:21:33 +0000 Subject: [PATCH] Update langref for unnamed_addr being allowed in aliases. Thanks to Duncan P. N. Exon Smith and Owen Anderson for noticing. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@210490 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/LangRef.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/LangRef.rst b/docs/LangRef.rst index d246e469fb2..213b99aa456 100644 --- a/docs/LangRef.rst +++ b/docs/LangRef.rst @@ -588,7 +588,7 @@ Variables and aliasaes can have a Syntax:: [@ =] [Linkage] [Visibility] [DLLStorageClass] [ThreadLocal] - [AddrSpace] [unnamed_addr] [ExternallyInitialized] + [unnamed_addr] [AddrSpace] [ExternallyInitialized] [, section "name"] [, align ] @@ -691,7 +691,7 @@ Aliases may have an optional :ref:`linkage type `, an optional Syntax:: - @ = [Visibility] [DLLStorageClass] [ThreadLocal] alias [Linkage] @ + @ = [Visibility] [DLLStorageClass] [ThreadLocal] [unnamed_addr] alias [Linkage] @ The linkage must be one of ``private``, ``internal``, ``linkonce``, ``weak``, ``linkonce_odr``, ``weak_odr``, ``external``. Note that some system linkers -- 2.34.1