From e7f064ed2b76b77a2a617bfbb3e6cdae882ca4c5 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 24 Aug 2009 04:32:16 +0000 Subject: [PATCH] improve documentation for linker_private linkage. llvm-svn: 79893 --- llvm/docs/LangRef.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/llvm/docs/LangRef.html b/llvm/docs/LangRef.html index 384c1201fa1a..ab86271f333d 100644 --- a/llvm/docs/LangRef.html +++ b/llvm/docs/LangRef.html @@ -529,7 +529,11 @@ define i32 @main() { ; i32()* linker_private:
Similar to private, but the symbol is passed through the assembler and - removed by the linker after evaluation.
+ 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).
internal:
Similar to private, but the value shows as a local symbol