diff options
author | Chris Lattner <sabre@nondot.org> | 2009-08-24 04:32:16 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-08-24 04:32:16 +0000 |
commit | e1eaf916f07839c6b4ea8dbdae3884ed31d61c38 (patch) | |
tree | 44375652d26a290dd02c32b1852f375ed9299234 | |
parent | 8da76367c5d6beadd520d35aef77e6d47996ea19 (diff) | |
download | external_llvm-e1eaf916f07839c6b4ea8dbdae3884ed31d61c38.zip external_llvm-e1eaf916f07839c6b4ea8dbdae3884ed31d61c38.tar.gz external_llvm-e1eaf916f07839c6b4ea8dbdae3884ed31d61c38.tar.bz2 |
improve documentation for linker_private linkage.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79893 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | docs/LangRef.html | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/docs/LangRef.html b/docs/LangRef.html index 384c120..ab86271 100644 --- a/docs/LangRef.html +++ b/docs/LangRef.html @@ -529,7 +529,11 @@ define i32 @main() { <i>; i32()* </ <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 |