[cfe-commits] r160169 - in /cfe/trunk/docs: ReleaseNotes.html UsersManual.html
Hans Wennborg
hans at hanshq.net
Fri Jul 13 05:47:15 PDT 2012
Author: hans
Date: Fri Jul 13 07:47:15 2012
New Revision: 160169
URL: http://llvm.org/viewvc/llvm-project?rev=160169&view=rev
Log:
Mention -ftls-model in release notes and manual.
Modified:
cfe/trunk/docs/ReleaseNotes.html
cfe/trunk/docs/UsersManual.html
Modified: cfe/trunk/docs/ReleaseNotes.html
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/docs/ReleaseNotes.html?rev=160169&r1=160168&r2=160169&view=diff
==============================================================================
--- cfe/trunk/docs/ReleaseNotes.html (original)
+++ cfe/trunk/docs/ReleaseNotes.html Fri Jul 13 07:47:15 2012
@@ -196,6 +196,12 @@
function names, file names and line numbers (by such tools as gdb or addr2line).
Debug info for variables or function parameters is not produced, which reduces
the size of the resulting binary.
+
+ <li><tt>-ftls-model</tt> controls which TLS model to use for thread-local
+ variables. This can be overridden per variable using the
+ <a href="#tlsmodel"><tt>tls_model</tt> attribute</a> mentioned above.
+ For more details, see the <a href="UsersManual.html#opt_ftls-model">User's
+ Manual</a>.</li>
</ul>
<!-- = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = -->
Modified: cfe/trunk/docs/UsersManual.html
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/docs/UsersManual.html?rev=160169&r1=160168&r2=160169&view=diff
==============================================================================
--- cfe/trunk/docs/UsersManual.html (original)
+++ cfe/trunk/docs/UsersManual.html Fri Jul 13 07:47:15 2012
@@ -913,6 +913,16 @@
regardless of whether the target ISA has a trap instruction. This option is
useful for environments (e.g. deeply embedded) where a trap cannot be properly
handled, or when some custom behavior is desired.</dd>
+
+<dt id="opt_ftls-model"><b>-ftls-model=[model]</b>: Select which TLS model to
+use.</dt>
+<dd>Valid values are: <tt>global-dynamic</tt>, <tt>local-dynamic</tt>,
+<tt>initial-exec</tt> and <tt>local-exec</tt>. The default value is
+<tt>global-dynamic</tt>. The compiler may use a different model if the selected
+model is not supported by the target, or if a more efficient model can be used.
+The TLS model can be overridden per variable using the <tt>tls_model</tt>
+attribute.
+</dd>
</dl>
<!-- = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = -->
More information about the cfe-commits
mailing list