Quellcode durchsuchen

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.
Brad King vor 4 Jahren
Ursprung
Commit
a070d87e08
1 geänderte Dateien mit 9 neuen und 9 gelöschten Zeilen
  1. 9 9
      Templates/MSBuild/FlagTables/v143_CL.json

+ 9 - 9
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": []
   },
   {