From: Derek Schuff Date: Mon, 16 Nov 2015 22:21:25 +0000 (+0000) Subject: Derive nacltools::Linker from GnuTool to get response file support X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=aa6e817056806b6a2a4d93914cae3e7a37531c17;p=clang Derive nacltools::Linker from GnuTool to get response file support It could be derived from gnutools::Linker directly but this way makes it consistent with all the other toolchains around it. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@253259 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Driver/Tools.h b/lib/Driver/Tools.h index be68ff134b..7a7c642e35 100644 --- a/lib/Driver/Tools.h +++ b/lib/Driver/Tools.h @@ -555,9 +555,9 @@ public: const char *LinkingOutput) const override; }; -class LLVM_LIBRARY_VISIBILITY Linker : public Tool { +class LLVM_LIBRARY_VISIBILITY Linker : public GnuTool { public: - Linker(const ToolChain &TC) : Tool("NaCl::Linker", "linker", TC) {} + Linker(const ToolChain &TC) : GnuTool("NaCl::Linker", "linker", TC) {} bool hasIntegratedCPP() const override { return false; } bool isLinkJob() const override { return true; }