summaryrefslogtreecommitdiffstats
path: root/clang/lib/Driver/Tools.h
diff options
context:
space:
mode:
authorTom Stellard <thomas.stellard@amd.com>2016-01-08 15:14:31 +0000
committerTom Stellard <thomas.stellard@amd.com>2016-01-08 15:14:31 +0000
commit0e04f6c30f6ac9684c76f9637101203f46700f34 (patch)
treed59a0a352fc5567a82a88aff604b3bcfa2533775 /clang/lib/Driver/Tools.h
parent4504c1bc809fc81f7fcfafca332ecfd530a8843c (diff)
downloadbcm5719-llvm-0e04f6c30f6ac9684c76f9637101203f46700f34.tar.gz
bcm5719-llvm-0e04f6c30f6ac9684c76f9637101203f46700f34.zip
Driver: Use the new ELF lld linker for AMDGPU
Summary: 'gnu-old' has been deprecated in favor or 'gnu'. Reviewers: arsenm, ruiu, rafael Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D15953 llvm-svn: 257175
Diffstat (limited to 'clang/lib/Driver/Tools.h')
-rw-r--r--clang/lib/Driver/Tools.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Driver/Tools.h b/clang/lib/Driver/Tools.h
index 6c67819a34a..2b137f4a6d0 100644
--- a/clang/lib/Driver/Tools.h
+++ b/clang/lib/Driver/Tools.h
@@ -240,7 +240,7 @@ namespace amdgpu {
class LLVM_LIBRARY_VISIBILITY Linker : public GnuTool {
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 hasIntegratedCPP() const override { return false; }
void ConstructJob(Compilation &C, const JobAction &JA,
OpenPOWER on IntegriCloud