[llvm-lib] Ignore /SUBSYSTEM flag
authorPengxuan Zheng <pzheng@quicinc.com>
Thu, 23 Jun 2022 19:25:54 +0000 (12:25 -0700)
committerPengxuan Zheng <pzheng@quicinc.com>
Tue, 28 Jun 2022 16:47:06 +0000 (09:47 -0700)
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

index 747dcc8..0d97f77 100644 (file)
@@ -45,3 +45,4 @@ def help_q : Flag<["/??", "-??", "/?", "-?"], "">, Alias<help>;
 
 def ltcg : F<"ltcg">;
 def nologo : F<"nologo">;
+def subsystem : P<"subsystem", "">;