[clang] cead149 - Add new option -fkeep-persistent-storage-variables to Clang release notes
Hubert Tong via cfe-commits
cfe-commits at lists.llvm.org
Mon Jul 24 19:56:22 PDT 2023
Author: Zheng Qian
Date: 2023-07-24T22:56:18-04:00
New Revision: cead1497ae0c1d57ee6883500c7c205f83798440
URL: https://github.com/llvm/llvm-project/commit/cead1497ae0c1d57ee6883500c7c205f83798440
DIFF: https://github.com/llvm/llvm-project/commit/cead1497ae0c1d57ee6883500c7c205f83798440.diff
LOG: Add new option -fkeep-persistent-storage-variables to Clang release notes
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
Added:
Modified:
clang/docs/ReleaseNotes.rst
Removed:
################################################################################
diff --git a/clang/docs/ReleaseNotes.rst b/clang/docs/ReleaseNotes.rst
index b69e1c7e60e177..89707a658f46bd 100644
--- a/clang/docs/ReleaseNotes.rst
+++ b/clang/docs/ReleaseNotes.rst
@@ -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
-------------------------
More information about the cfe-commits
mailing list