From 821d8843836f72d039eb0ccb32a0336c64be5b58 Mon Sep 17 00:00:00 2001 From: Derek Schuff Date: Mon, 16 Nov 2015 22:21:25 +0000 Subject: [PATCH] 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. llvm-svn: 253259 --- clang/lib/Driver/Tools.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clang/lib/Driver/Tools.h b/clang/lib/Driver/Tools.h index be68ff134b24..7a7c642e3560 100644 --- a/clang/lib/Driver/Tools.h +++ b/clang/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; }