Index: lib/Driver/Tools.h |
diff --git a/lib/Driver/Tools.h b/lib/Driver/Tools.h |
index 33fadd17004e999aad14168a4be68c10672d7a4a..aa292bfdea9fc49571094d5b67e906542a63590b 100644 |
--- a/lib/Driver/Tools.h |
+++ b/lib/Driver/Tools.h |
@@ -524,18 +524,15 @@ namespace nacltools { |
const llvm::opt::ArgList &TCArgs, |
const char *LinkingOutput) const override; |
}; |
- class LLVM_LIBRARY_VISIBILITY Link : public Tool { |
+ class LLVM_LIBRARY_VISIBILITY Link : public gnutools::Link { |
public: |
- Link(const ToolChain &TC) : Tool("NaCl::Link", "linker", TC) {} |
- |
- bool hasIntegratedCPP() const override { return false; } |
- bool isLinkJob() const override { return true; } |
+ Link(const ToolChain &TC) : gnutools::Link(TC) {} |
void ConstructJob(Compilation &C, const JobAction &JA, |
- const InputInfo &Output, |
- const InputInfoList &Inputs, |
- const llvm::opt::ArgList &TCArgs, |
- const char *LinkingOutput) const override; |
+ const InputInfo &Output, |
+ const InputInfoList &Inputs, |
+ const llvm::opt::ArgList &TCArgs, |
+ const char *LinkingOutput) const override; |
}; |
} |