Add new option -fkeep-persistent-storage-variables to Clang release notes
authorZheng Qian <qianzhen@ca.ibm.com>
Tue, 25 Jul 2023 02:49:58 +0000 (22:49 -0400)
committerHubert Tong <hubert.reinterpretcast@gmail.com>
Tue, 25 Jul 2023 02:56:18 +0000 (22:56 -0400)
This patch updates the Clang release notes with the new option
-fkeep-persistent-storage-variables added in bb6ab91b1dcd.

Reviewed By: hubert.reinterpretcast

Differential Revision: https://reviews.llvm.org/D155501

clang/docs/ReleaseNotes.rst

index b69e1c7..89707a6 100644 (file)
@@ -274,6 +274,11 @@ New Compiler Flags
 - ``-fcaret-diagnostics-max-lines=`` has been added as a driver options, which
   lets users control the maximum number of source lines printed for a
   caret diagnostic.
+- ``-fkeep-persistent-storage-variables`` has been implemented to keep all
+  variables that have a persistent storage duration—including global, static
+  and thread-local variables—to guarantee that they can be directly addressed.
+  Since this inhibits the merging of the affected variables, the number of
+  individual relocations in the program will generally increase.
 
 Deprecated Compiler Flags
 -------------------------