From 9e24437c912f52a7afcba58cdd51b74c7dab3861 Mon Sep 17 00:00:00 2001 From: Benjamin Sluis Date: Tue, 11 Jan 2022 07:43:23 -0800 Subject: VS: Remove the '/guard:cf' flag from v143 link flag table Apply the change from commit db35e3cfd6 (VS: Fix support for '/guard:cf' linker flag for v142, 2019-01-24, v3.14.0-rc1~74^2~2) to the v143 flag table. The entry for `LinkControlFlowGuard` in `v143_Link.json` does not work when used in a `.vcxproj` file. Drop our link flag table entries for this toolset so that the flag will be passed via `AdditionalOptions`. Also add a test case. --- Templates/MSBuild/FlagTables/v143_Link.json | 7 ------- 1 file changed, 7 deletions(-) (limited to 'Templates') diff --git a/Templates/MSBuild/FlagTables/v143_Link.json b/Templates/MSBuild/FlagTables/v143_Link.json index 71d58f885a..4422f55bda 100644 --- a/Templates/MSBuild/FlagTables/v143_Link.json +++ b/Templates/MSBuild/FlagTables/v143_Link.json @@ -977,13 +977,6 @@ "value": "true", "flags": [] }, - { - "name": "LinkControlFlowGuard", - "switch": "guard:cf", - "comment": "Control Flow Guard", - "value": "true", - "flags": [] - }, { "name": "LinkGuardEHContMetadata", "switch": "guard:ehcont", -- cgit v1.2.1