diff options
author | Hans Wennborg <hans@hanshq.net> | 2012-07-13 12:47:15 +0000 |
---|---|---|
committer | Hans Wennborg <hans@hanshq.net> | 2012-07-13 12:47:15 +0000 |
commit | 04f5eacaf431f0e9c1edb5d7ce1802069c6af481 (patch) | |
tree | 38d0ed3797c91b46a394604211b1dc670293b3de /clang/docs/UsersManual.html | |
parent | e2679c50d7a3798adf4cf23ca09e20a5979793ac (diff) | |
download | bcm5719-llvm-04f5eacaf431f0e9c1edb5d7ce1802069c6af481.tar.gz bcm5719-llvm-04f5eacaf431f0e9c1edb5d7ce1802069c6af481.zip |
Mention -ftls-model in release notes and manual.
llvm-svn: 160169
Diffstat (limited to 'clang/docs/UsersManual.html')
-rw-r--r-- | clang/docs/UsersManual.html | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/clang/docs/UsersManual.html b/clang/docs/UsersManual.html index 0ca0e5377f5..130fcefde09 100644 --- a/clang/docs/UsersManual.html +++ b/clang/docs/UsersManual.html @@ -913,6 +913,16 @@ generator will always lower the builtin to a call to the specified function 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> <!-- = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = --> |