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

Chris Lattner clattner at apple.com
Tue Jun 29 14:57:12 PDT 2010


On Jun 29, 2010, at 2:41 PM, Bill Wendling wrote:

> Author: void
> Date: Tue Jun 29 16:41:58 2010
> New Revision: 107207
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=107207&view=rev
> Log:
> Improve explanation.

This shouldn't say what it is used for, it should say what it's valid for.  Saying it only works on darwin platforms would be a better approach.

-Chris

> 
> 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=107207&r1=107206&r2=107207&view=diff
> ==============================================================================
> --- llvm/trunk/docs/LangRef.html (original)
> +++ llvm/trunk/docs/LangRef.html Tue Jun 29 16:41:58 2010
> @@ -560,11 +560,15 @@
>       <tt>private</tt> symbols) <tt>linker_private</tt> 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>
> +      linker from the final linked image (executable or dynamic library).
> +      This is currently only used for Objective-C metadata.</dd>
> 
>   <dt><tt><b><a name="linkage_linker_weak">linker_weak</a></b></tt></dt>
>   <dd>Global values with "<tt>linker_weak</tt>" linkage are given weak linkage,
> -      but are removed by the linker after evaluation.</dd>
> +      but are removed by the linker after evaluation. Unlike normal weak
> +      symbols, linker weak symbols are removed by the linker from the linal
> +      linked image (executable or dynamic library). This is currently only used
> +      for Objective-C metadata.</dd>
> 
>   <dt><tt><b><a name="linkage_internal">internal</a></b></tt></dt>
>   <dd>Similar to <tt>private</tt>, but the value shows as a local symbol
> 
> 
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits





More information about the llvm-commits mailing list