[PATCH] D129032: [llvm-lib] Ignore /NODEFAULTLIB flag

Pengxuan Zheng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 1 19:31:27 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 doesn't look like there is anything llvm-lib needs to handle based on
Microsoft's description of the flag.

https://docs.microsoft.com/en-us/cpp/build/reference/managing-a-library?view=msvc-170


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D129032

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
@@ -44,5 +44,7 @@
 //==============================================================================
 
 def ltcg : F<"ltcg">;
+def nodefaultlib: P<"nodefaultlib", "">;
+def nodefaultlib_all: F<"nodefaultlib">;
 def nologo : F<"nologo">;
 def subsystem : P<"subsystem", "">;


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D129032.441853.patch
Type: text/x-patch
Size: 479 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220702/80927bed/attachment.bin>


More information about the llvm-commits mailing list