From a070d87e085b2ddc41c10951054ddbc7cb2b61aa Mon Sep 17 00:00:00 2001 From: Brad King Date: Wed, 14 Jul 2021 13:44:58 -0400 Subject: 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. --- Templates/MSBuild/FlagTables/v143_CL.json | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'Templates') 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": [] }, { -- cgit v1.2.1