[PATCH] D126000: [llvm-lib] Ignore /LTCG option
Pengxuan Zheng via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu May 19 11:42:14 PDT 2022
pzheng created this revision.
pzheng added reviewers: thakis, epastor, pcc.
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.
"The /LTCG option to LIB specifies that the inputs from cl.exe include object
files generated by using the /GL compiler option."
Based on Microsoft's description
above (https://docs.microsoft.com/en-us/cpp/build/reference/running-lib?view=msvc-170),
there doesn't seem to be anything llvm-lib needs to do to support the flag.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D126000
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
@@ -43,4 +43,5 @@
// The flags below do nothing. They are defined only for lib.exe compatibility.
//==============================================================================
+def ltcg : F<"ltcg">;
def nologo : F<"nologo">;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D126000.430760.patch
Type: text/x-patch
Size: 439 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220519/bdeafe01/attachment-0001.bin>
More information about the llvm-commits
mailing list