Skip to content

Commit 5a681e4

Browse files
committed
ReleaseNotes: speculative load hardening; text by Kristof
llvm-svn: 354583
1 parent 9d332ff commit 5a681e4

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

clang/docs/ReleaseNotes.rst

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,9 @@ Non-comprehensive list of changes in this release
130130
New Compiler Flags
131131
------------------
132132

133+
- ``-mspeculative-load-hardening`` Clang now has an option to enable
134+
Speculative Load Hardening.
135+
133136
- ``-fprofile-filter-files=[regexes]`` and ``-fprofile-exclude-files=[regexes]``.
134137

135138
Clang has now options to filter or exclude some files when
@@ -171,7 +174,9 @@ New Pragmas in Clang
171174
Attribute Changes in Clang
172175
--------------------------
173176

174-
- ...
177+
* Clang now supports enabling/disabling speculative load hardening on a
178+
per-function basis using the function attribute
179+
``speculative_load_hardening``/``no_speculative_load_hardening``.
175180

176181
Windows Support
177182
---------------

0 commit comments

Comments
 (0)