summaryrefslogtreecommitdiff
path: root/Templates
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-07-14 13:44:58 -0400
committerBrad King <brad.king@kitware.com>2021-07-15 13:12:54 -0400
commita070d87e085b2ddc41c10951054ddbc7cb2b61aa (patch)
tree7dd254abd2050adc8d2f5a7b46f8472b2989b129 /Templates
parent3322bb70813881e3998c84cecf8b9c79dcf9590b (diff)
downloadcmake-a070d87e085b2ddc41c10951054ddbc7cb2b61aa.tar.gz
VS: Populate `-Qspectre-` flag table entry for v143
Apply the change from commit 43aa632f57 (VS: Populate `-Qspectre-` flag table entry for v142, 2019-01-24, v3.14.0-rc1~74^2~7) to the v143 flag table. Sort the longer options before the shorter ones. Remove the default variant with an empty switch.
Diffstat (limited to 'Templates')
-rw-r--r--Templates/MSBuild/FlagTables/v143_CL.json18
1 files changed, 9 insertions, 9 deletions
diff --git a/Templates/MSBuild/FlagTables/v143_CL.json b/Templates/MSBuild/FlagTables/v143_CL.json
index 8851c9ba11..b8697fb166 100644
--- a/Templates/MSBuild/FlagTables/v143_CL.json
+++ b/Templates/MSBuild/FlagTables/v143_CL.json
@@ -428,9 +428,9 @@
},
{
"name": "SpectreMitigation",
- "switch": "Qspectre",
- "comment": "Enabled",
- "value": "Spectre",
+ "switch": "Qspectre-load-cf",
+ "comment": "All Control Flow Loads",
+ "value": "SpectreLoadCF",
"flags": []
},
{
@@ -442,16 +442,16 @@
},
{
"name": "SpectreMitigation",
- "switch": "Qspectre-load-cf",
- "comment": "All Control Flow Loads",
- "value": "SpectreLoadCF",
+ "switch": "Qspectre-",
+ "comment": "Disabled",
+ "value": "false",
"flags": []
},
{
"name": "SpectreMitigation",
- "switch": "",
- "comment": "Disabled",
- "value": "false",
+ "switch": "Qspectre",
+ "comment": "Enabled",
+ "value": "Spectre",
"flags": []
},
{