forked from OSchip/llvm-project
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:
parent
66e43ee289
commit
821d884383
|
@ -555,9 +555,9 @@ public:
|
||||||
const char *LinkingOutput) const override;
|
const char *LinkingOutput) const override;
|
||||||
};
|
};
|
||||||
|
|
||||||
class LLVM_LIBRARY_VISIBILITY Linker : public Tool {
|
class LLVM_LIBRARY_VISIBILITY Linker : public GnuTool {
|
||||||
public:
|
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 hasIntegratedCPP() const override { return false; }
|
||||||
bool isLinkJob() const override { return true; }
|
bool isLinkJob() const override { return true; }
|
||||||
|
|
Loading…
Reference in New Issue