summaryrefslogtreecommitdiff
path: root/docs/LangRef.html
diff options
context:
space:
mode:
authorAnton Korobeynikov <asl@math.spbu.ru>2007-04-29 18:35:00 +0000
committerAnton Korobeynikov <asl@math.spbu.ru>2007-04-29 18:35:00 +0000
commit6f9896fcc81a1128b5f436d1763cc6213745adf1 (patch)
tree89f99df6a320347cd98adf490edeea24432c86f6 /docs/LangRef.html
parentc6c98af9e5814e8066c82f20ca11cf646a5fc289 (diff)
downloadllvm-6f9896fcc81a1128b5f436d1763cc6213745adf1.tar.gz
llvm-6f9896fcc81a1128b5f436d1763cc6213745adf1.tar.bz2
llvm-6f9896fcc81a1128b5f436d1763cc6213745adf1.tar.xz
Implement protected visibility. This partly implements PR1363. Linker
should be taught to deal with protected symbols. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36565 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/LangRef.html')
-rw-r--r--docs/LangRef.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/LangRef.html b/docs/LangRef.html
index 67a2fc8a4d..58e0e3c5f3 100644
--- a/docs/LangRef.html
+++ b/docs/LangRef.html
@@ -591,6 +591,13 @@ All Global Variables and Functions have one of the following visibility styles:
directly.
</dd>
+ <dt><b>"<tt>protected</tt>" - Protected style</b>:</dt>
+
+ <dd>On ELF, protected visibility indicates that the symbol will be placed in
+ the dynamic symbol table, but that references within the defining module will
+ bind to the local symbol. That is, the symbol cannot be overridden by another
+ module.
+ </dd>
</dl>
</div>