Browse Source

[Driver] Derive Fuchsia Linker directly from Tool

Fuchsia Linker tool doesn't need any of the GnuTool behavior.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@367797 91177308-0d34-0410-b5e6-96231b3b80d8
Petr Hosek 6 years ago
parent
commit
5ca0112383
1 changed files with 2 additions and 2 deletions
  1. 2 2
      lib/Driver/ToolChains/Fuchsia.h

+ 2 - 2
lib/Driver/ToolChains/Fuchsia.h

@@ -17,9 +17,9 @@ namespace clang {
 namespace driver {
 namespace tools {
 namespace fuchsia {
-class LLVM_LIBRARY_VISIBILITY Linker : public GnuTool {
+class LLVM_LIBRARY_VISIBILITY Linker : public Tool {
 public:
-  Linker(const ToolChain &TC) : GnuTool("fuchsia::Linker", "ld.lld", TC) {}
+  Linker(const ToolChain &TC) : Tool("fuchsia::Linker", "ld.lld", TC) {}
 
   bool hasIntegratedCPP() const override { return false; }
   bool isLinkJob() const override { return true; }