From: Reid Kleckner Date: Fri, 2 Aug 2019 22:55:00 +0000 (+0000) Subject: The MinGW linker supports response files X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=06f756bc7e8301e70ee6ca7754c113f9296db9bf;p=clang The MinGW linker supports response files This affects both LLD and ld.bfd. This isn't testable with a normal driver test with -### because those command lines are printed before response file setup. I tested manually and confirmed it seems to do the right thing. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@367733 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Driver/ToolChains/MinGW.h b/lib/Driver/ToolChains/MinGW.h index 08298e910e..6752a405be 100644 --- a/lib/Driver/ToolChains/MinGW.h +++ b/lib/Driver/ToolChains/MinGW.h @@ -34,7 +34,8 @@ public: class LLVM_LIBRARY_VISIBILITY Linker : public Tool { public: - Linker(const ToolChain &TC) : Tool("MinGW::Linker", "linker", TC) {} + Linker(const ToolChain &TC) + : Tool("MinGW::Linker", "linker", TC, Tool::RF_Full) {} bool hasIntegratedCPP() const override { return false; } bool isLinkJob() const override { return true; }