[llvm-commits] [llvm] r79893 - /llvm/trunk/docs/LangRef.html

Chris Lattner sabre at nondot.org
Sun Aug 23 21:32:19 PDT 2009


Author: lattner
Date: Sun Aug 23 23:32:16 2009
New Revision: 79893

URL: http://llvm.org/viewvc/llvm-project?rev=79893&view=rev
Log:
improve  documentation for linker_private linkage.

Modified:
    llvm/trunk/docs/LangRef.html

Modified: llvm/trunk/docs/LangRef.html
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/LangRef.html?rev=79893&r1=79892&r2=79893&view=diff

==============================================================================
--- llvm/trunk/docs/LangRef.html (original)
+++ llvm/trunk/docs/LangRef.html Sun Aug 23 23:32:16 2009
@@ -529,7 +529,11 @@
 
   <dt><tt><b><a name="linkage_linker_private">linker_private</a></b></tt>: </dt>
   <dd>Similar to private, but the symbol is passed through the assembler and
-      removed by the linker after evaluation.</dd>
+      removed by the linker after evaluation.  Note that (unlike private
+      symbols) linker_private symbols are subject to coalescing by the linker:
+      weak symbols get merged and redefinitions are rejected.  However, unlike
+      normal strong symbols, they are removed by the linker from the final
+      linked image (executable or dynamic library).</dd>
 
   <dt><tt><b><a name="linkage_internal">internal</a></b></tt>: </dt>
   <dd>Similar to private, but the value shows as a local symbol





More information about the llvm-commits mailing list