From b5b7e3adcdcd2d640ed665258792de000e0d3097 Mon Sep 17 00:00:00 2001 From: Pengxuan Zheng Date: Thu, 23 Jun 2022 12:25:54 -0700 Subject: [PATCH] [llvm-lib] Ignore /SUBSYSTEM flag It's not clear what Microsoft's LIB.exe actually does based on the official description of the flag (link below). We can probably ignore it for now. https://docs.microsoft.com/en-us/cpp/build/reference/managing-a-library?view=msvc-170 Reviewed By: thieta Differential Revision: https://reviews.llvm.org/D128458 --- llvm/lib/ToolDrivers/llvm-lib/Options.td | 1 + 1 file changed, 1 insertion(+) diff --git a/llvm/lib/ToolDrivers/llvm-lib/Options.td b/llvm/lib/ToolDrivers/llvm-lib/Options.td index 747dcc8..0d97f77 100644 --- a/llvm/lib/ToolDrivers/llvm-lib/Options.td +++ b/llvm/lib/ToolDrivers/llvm-lib/Options.td @@ -45,3 +45,4 @@ def help_q : Flag<["/??", "-??", "/?", "-?"], "">, Alias; def ltcg : F<"ltcg">; def nologo : F<"nologo">; +def subsystem : P<"subsystem", "">; -- 2.7.4