mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-24 20:29:53 +00:00
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
This commit is contained in:
parent
c90ddb1869
commit
ed7d283ce5
@ -588,7 +588,7 @@ Variables and aliasaes can have a
|
||||
Syntax::
|
||||
|
||||
[@<GlobalVarName> =] [Linkage] [Visibility] [DLLStorageClass] [ThreadLocal]
|
||||
[AddrSpace] [unnamed_addr] [ExternallyInitialized]
|
||||
[unnamed_addr] [AddrSpace] [ExternallyInitialized]
|
||||
<global | constant> <Type>
|
||||
[, section "name"] [, align <Alignment>]
|
||||
|
||||
@ -691,7 +691,7 @@ Aliases may have an optional :ref:`linkage type <linkage>`, an optional
|
||||
|
||||
Syntax::
|
||||
|
||||
@<Name> = [Visibility] [DLLStorageClass] [ThreadLocal] alias [Linkage] <AliaseeTy> @<Aliasee>
|
||||
@<Name> = [Visibility] [DLLStorageClass] [ThreadLocal] [unnamed_addr] alias [Linkage] <AliaseeTy> @<Aliasee>
|
||||
|
||||
The linkage must be one of ``private``, ``internal``, ``linkonce``, ``weak``,
|
||||
``linkonce_odr``, ``weak_odr``, ``external``. Note that some system linkers
|
||||
|
Loading…
Reference in New Issue
Block a user