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
This commit is contained in:
Derek Schuff 2015-11-16 22:21:25 +00:00
parent 66e43ee289
commit 821d884383
1 changed files with 2 additions and 2 deletions

View File

@ -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; }