[llvm-branch-commits] [clang] aa0dcfb - [release][docs] Add -mtls-size= option to the release note

KAWASHIMA Takahiro via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Fri Aug 28 02:03:54 PDT 2020


Author: KAWASHIMA Takahiro
Date: 2020-08-28T18:02:31+09:00
New Revision: aa0dcfb1179b0916e0315f2125fd35af6d6869d3

URL: https://github.com/llvm/llvm-project/commit/aa0dcfb1179b0916e0315f2125fd35af6d6869d3
DIFF: https://github.com/llvm/llvm-project/commit/aa0dcfb1179b0916e0315f2125fd35af6d6869d3.diff

LOG: [release][docs] Add -mtls-size= option to the release note

Added: 
    

Modified: 
    clang/docs/ReleaseNotes.rst

Removed: 
    


################################################################################
diff  --git a/clang/docs/ReleaseNotes.rst b/clang/docs/ReleaseNotes.rst
index 83877d0d95a2..c32952cce51d 100644
--- a/clang/docs/ReleaseNotes.rst
+++ b/clang/docs/ReleaseNotes.rst
@@ -256,6 +256,12 @@ New Compiler Flags
 
 - ``-fsanitize-coverage-allowlist`` and ``-fsanitize-coverage-blocklist`` are added.
 
+- -mtls-size={12,24,32,48} allows selecting the size of the TLS (thread-local
+  storage) in the local exec TLS model of AArch64, which is the default TLS
+  model for non-PIC objects. Each value represents 4KB, 16MB (default), 4GB,
+  and 256TB (needs -mcmodel=large). This allows large/many thread local
+  variables or a compact/fast code in an executable.
+
 Deprecated Compiler Flags
 -------------------------
 


        


More information about the llvm-branch-commits mailing list