diff options
author | Dmitry Mikulin <dmitry.mikulin@sony.com> | 2019-10-15 18:31:10 +0000 |
---|---|---|
committer | Dmitry Mikulin <dmitry.mikulin@sony.com> | 2019-10-15 18:31:10 +0000 |
commit | 1d08493df33c295a8647a712884d7c634f8e8057 (patch) | |
tree | 137647f4d1dd6b66a7d2c89411a3c53df38d367b /docs | |
parent | a7fe44fc314944e8812405603368d05080ab3c13 (diff) | |
download | clang-1d08493df33c295a8647a712884d7c634f8e8057.tar.gz |
Added support for "#pragma clang section relro=<name>"
Differential Revision: https://reviews.llvm.org/D68806
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@374934 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs')
-rw-r--r-- | docs/LanguageExtensions.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/LanguageExtensions.rst b/docs/LanguageExtensions.rst index 967f4ad9bb..51e6a44603 100644 --- a/docs/LanguageExtensions.rst +++ b/docs/LanguageExtensions.rst @@ -3445,14 +3445,14 @@ The section names can be specified as: .. code-block:: c++ - #pragma clang section bss="myBSS" data="myData" rodata="myRodata" text="myText" + #pragma clang section bss="myBSS" data="myData" rodata="myRodata" relro="myRelro" text="myText" The section names can be reverted back to default name by supplying an empty string to the section kind, for example: .. code-block:: c++ - #pragma clang section bss="" data="" text="" rodata="" + #pragma clang section bss="" data="" text="" rodata="" relro="" The ``#pragma clang section`` directive obeys the following rules: |