diff options
author | Xiang1 Zhang <xiang1.zhang@intel.com> | 2022-07-12 10:16:24 +0800 |
---|---|---|
committer | Xiang1 Zhang <xiang1.zhang@intel.com> | 2022-07-12 10:17:00 +0800 |
commit | a45dd3d8140eab78a4554484c2b0435582ee262a (patch) | |
tree | a9085a80214b8713c07965159e7dda6bb841ff72 /clang/docs | |
parent | 643786213b34c7bd971c14db63dfbae8bb979997 (diff) | |
download | llvm-a45dd3d8140eab78a4554484c2b0435582ee262a.zip llvm-a45dd3d8140eab78a4554484c2b0435582ee262a.tar.gz llvm-a45dd3d8140eab78a4554484c2b0435582ee262a.tar.bz2 |
[X86] Support -mstack-protector-guard-symbol
Reviewed By: nickdesaulniers
Differential Revision: https://reviews.llvm.org/D129346
Diffstat (limited to 'clang/docs')
-rw-r--r-- | clang/docs/ClangCommandLineReference.rst | 4 | ||||
-rw-r--r-- | clang/docs/ReleaseNotes.rst | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/clang/docs/ClangCommandLineReference.rst b/clang/docs/ClangCommandLineReference.rst index ae110df..129e70d 100644 --- a/clang/docs/ClangCommandLineReference.rst +++ b/clang/docs/ClangCommandLineReference.rst @@ -3285,6 +3285,10 @@ Use the given offset for addressing the stack-protector guard Use the given reg for addressing the stack-protector guard +.. option:: -mstack-protector-guard-symbol=<arg> + +Use the given symbol for addressing the stack-protector guard + .. option:: -mstack-protector-guard=<arg> Use the given guard (global, tls) for addressing the stack-protector guard diff --git a/clang/docs/ReleaseNotes.rst b/clang/docs/ReleaseNotes.rst index 27ba4f1..86b9b7e 100644 --- a/clang/docs/ReleaseNotes.rst +++ b/clang/docs/ReleaseNotes.rst @@ -548,6 +548,8 @@ X86 Support in Clang - Added the ``-m[no-]rdpru`` flag to enable/disable the RDPRU instruction provided by AMD Zen2 and later processors. Defined intrinsics for using this instruction (see rdpruintrin.h). +- Support ``-mstack-protector-guard-symbol=[SymbolName]`` to use the given + symbol for addressing the stack protector guard. DWARF Support in Clang ---------------------- |