r367797 - [Driver] Derive Fuchsia Linker directly from Tool
Petr Hosek via cfe-commits
cfe-commits at lists.llvm.org
Sun Aug 4 18:36:51 PDT 2019
Author: phosek
Date: Sun Aug 4 18:36:51 2019
New Revision: 367797
URL: http://llvm.org/viewvc/llvm-project?rev=367797&view=rev
Log:
[Driver] Derive Fuchsia Linker directly from Tool
Fuchsia Linker tool doesn't need any of the GnuTool behavior.
Modified:
cfe/trunk/lib/Driver/ToolChains/Fuchsia.h
Modified: cfe/trunk/lib/Driver/ToolChains/Fuchsia.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/ToolChains/Fuchsia.h?rev=367797&r1=367796&r2=367797&view=diff
==============================================================================
--- cfe/trunk/lib/Driver/ToolChains/Fuchsia.h (original)
+++ cfe/trunk/lib/Driver/ToolChains/Fuchsia.h Sun Aug 4 18:36:51 2019
@@ -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; }
More information about the cfe-commits
mailing list