[PATCH] D128458: [llvm-lib] Ignore /SUBSYSTEM flag

Pengxuan Zheng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 23 12:46:18 PDT 2022


pzheng created this revision.
pzheng added reviewers: rnk, thieta, thakis, hans, mstorsjo.
Herald added a subscriber: hiraditya.
Herald added a project: All.
pzheng requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

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


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D128458

Files:
  llvm/lib/ToolDrivers/llvm-lib/Options.td


Index: llvm/lib/ToolDrivers/llvm-lib/Options.td
===================================================================
--- llvm/lib/ToolDrivers/llvm-lib/Options.td
+++ llvm/lib/ToolDrivers/llvm-lib/Options.td
@@ -45,3 +45,4 @@
 
 def ltcg : F<"ltcg">;
 def nologo : F<"nologo">;
+def subsystem : P<"subsystem", "">;


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D128458.439506.patch
Type: text/x-patch
Size: 313 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220623/dd627160/attachment.bin>


More information about the llvm-commits mailing list