diff options
author | Bill Wendling <isanbard@gmail.com> | 2010-08-20 22:05:50 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2010-08-20 22:05:50 +0000 |
commit | 55ae515f9db484125a23429d4906c5edaf9f10d2 (patch) | |
tree | e14046431613e74d8ed507098486df1ed09dfa40 /docs | |
parent | 489b29b0a4ee4526e3d50ad88d3d48745baf5042 (diff) | |
download | external_llvm-55ae515f9db484125a23429d4906c5edaf9f10d2.zip external_llvm-55ae515f9db484125a23429d4906c5edaf9f10d2.tar.gz external_llvm-55ae515f9db484125a23429d4906c5edaf9f10d2.tar.bz2 |
Create the new linker type "linker_private_weak_def_auto".
It's similar to "linker_private_weak", but it's known that the address of the
object is not taken. For instance, functions that had an inline definition, but
the compiler decided not to inline it. Note, unlike linker_private and
linker_private_weak, linker_private_weak_def_auto may have only default
visibility. The symbols are removed by the linker from the final linked image
(executable or dynamic library).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111684 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs')
-rw-r--r-- | docs/LangRef.html | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/LangRef.html b/docs/LangRef.html index 7422d72..b8897fd 100644 --- a/docs/LangRef.html +++ b/docs/LangRef.html @@ -25,6 +25,7 @@ <li><a href="#linkage_private">'<tt>private</tt>' Linkage</a></li> <li><a href="#linkage_linker_private">'<tt>linker_private</tt>' Linkage</a></li> <li><a href="#linkage_linker_private_weak">'<tt>linker_private_weak</tt>' Linkage</a></li> + <li><a href="#linkage_linker_private_weak_def_auto">'<tt>linker_private_weak_def_auto</tt>' Linkage</a></li> <li><a href="#linkage_internal">'<tt>internal</tt>' Linkage</a></li> <li><a href="#linkage_available_externally">'<tt>available_externally</tt>' Linkage</a></li> <li><a href="#linkage_linkonce">'<tt>linkonce</tt>' Linkage</a></li> @@ -557,6 +558,15 @@ define i32 @main() { <i>; i32()* </i> linker. The symbols are removed by the linker from the final linked image (executable or dynamic library).</dd> + <dt><tt><b><a name="linkage_linker_private_weak_def_auto">linker_private_weak_def_auto</a></b></tt></dt> + <dd>Similar to "<tt>linker_private_weak</tt>", but it's known that the address + of the object is not taken. For instance, functions that had an inline + definition, but the compiler decided not to inline it. Note, + unlike <tt>linker_private</tt> and <tt>linker_private_weak</tt>, + <tt>linker_private_weak_def_auto</tt> may have only <tt>default</tt> + visibility. The symbols 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 (<tt>STB_LOCAL</tt> in the case of ELF) in the object file. This |