// RUN: %clang -### -target amdgcn--amdhsa -x assembler -mcpu=kaveri %s 2>&1 | FileCheck -check-prefix=AS_LINK %s
// AS_LINK: bin/clang{{.*}} "-cc1as"
// AS_LINK: bin/lld{{.*}} "-flavor" "gnu" "-target" "amdgcn--amdhsa"

// RUN: %clang -### -target amdgcn--amdhsa -x assembler -mcpu=kaveri %s 2>&1 | FileCheck -check-prefix=AS_LINK %s
// AS_LINK: bin/clang{{.*}} "-cc1as"
// AS_LINK: lld{{.*}} "-flavor" "gnu" "-target" "amdgcn--amdhsa"

Handle lld not being found in PATH.
Handle lld not being found in PATH.

git-svn-id: ffe668792ed300d6c2daa1f6eba2e0aa28d7ec6c@248035 91177308-0d34-0410-b5e6-96231b3b80d8
