Changeset View
Changeset View
Standalone View
Standalone View
cfe/trunk/lib/Driver/Tools.h
Show First 20 Lines • Show All 234 Lines • ▼ Show 20 Lines | void ConstructJob(Compilation &C, const JobAction &JA, | ||||
const char *LinkingOutput) const override; | const char *LinkingOutput) const override; | ||||
}; | }; | ||||
} // end namespace hexagon. | } // end namespace hexagon. | ||||
namespace amdgpu { | namespace amdgpu { | ||||
class LLVM_LIBRARY_VISIBILITY Linker : public GnuTool { | class LLVM_LIBRARY_VISIBILITY Linker : public GnuTool { | ||||
public: | public: | ||||
Linker(const ToolChain &TC) : GnuTool("amdgpu::Linker", "lld", TC) {} | Linker(const ToolChain &TC) : GnuTool("amdgpu::Linker", "ld.lld", TC) {} | ||||
bool isLinkJob() const override { return true; } | bool isLinkJob() const override { return true; } | ||||
bool hasIntegratedCPP() const override { return false; } | bool hasIntegratedCPP() const override { return false; } | ||||
void ConstructJob(Compilation &C, const JobAction &JA, | void ConstructJob(Compilation &C, const JobAction &JA, | ||||
const InputInfo &Output, const InputInfoList &Inputs, | const InputInfo &Output, const InputInfoList &Inputs, | ||||
const llvm::opt::ArgList &TCArgs, | const llvm::opt::ArgList &TCArgs, | ||||
const char *LinkingOutput) const override; | const char *LinkingOutput) const override; | ||||
}; | }; | ||||
▲ Show 20 Lines • Show All 659 Lines • Show Last 20 Lines |