improve documentation for linker_private linkage.

llvm-svn: 79893
This commit is contained in:
Chris Lattner 2009-08-24 04:32:16 +00:00
parent c143023bac
commit e7f064ed2b
1 changed files with 5 additions and 1 deletions

View File

@ -529,7 +529,11 @@ define i32 @main() { <i>; i32()* </
<dt><tt><b><a name="linkage_linker_private">linker_private</a></b></tt>: </dt> <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 <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> <dt><tt><b><a name="linkage_internal">internal</a></b></tt>: </dt>
<dd>Similar to private, but the value shows as a local symbol <dd>Similar to private, but the value shows as a local symbol