diff options
author | Derek Schuff <dschuff@google.com> | 2015-11-16 22:21:25 +0000 |
---|---|---|
committer | Derek Schuff <dschuff@google.com> | 2015-11-16 22:21:25 +0000 |
commit | 821d8843836f72d039eb0ccb32a0336c64be5b58 (patch) | |
tree | 6dbb56e4f413936b72b1c0a3cf32520f32b4e9a9 | |
parent | 66e43ee289be75245dfa6d72ecf88aee19f756cc (diff) | |
download | bcm5719-llvm-821d8843836f72d039eb0ccb32a0336c64be5b58.tar.gz bcm5719-llvm-821d8843836f72d039eb0ccb32a0336c64be5b58.zip |
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
-rw-r--r-- | clang/lib/Driver/Tools.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Driver/Tools.h b/clang/lib/Driver/Tools.h index be68ff134b2..7a7c642e356 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; } |