[llvm] b5b7e3a - [llvm-lib] Ignore /SUBSYSTEM flag
Pengxuan Zheng via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 28 09:47:17 PDT 2022
Author: Pengxuan Zheng
Date: 2022-06-28T09:47:06-07:00
New Revision: b5b7e3adcdcd2d640ed665258792de000e0d3097
URL: https://github.com/llvm/llvm-project/commit/b5b7e3adcdcd2d640ed665258792de000e0d3097
DIFF: https://github.com/llvm/llvm-project/commit/b5b7e3adcdcd2d640ed665258792de000e0d3097.diff
LOG: [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
Added:
Modified:
llvm/lib/ToolDrivers/llvm-lib/Options.td
Removed:
################################################################################
diff --git a/llvm/lib/ToolDrivers/llvm-lib/Options.td b/llvm/lib/ToolDrivers/llvm-lib/Options.td
index 747dcc82df5e6..0d97f77e525f0 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<help>;
def ltcg : F<"ltcg">;
def nologo : F<"nologo">;
+def subsystem : P<"subsystem", "">;
More information about the llvm-commits
mailing list