]> granicus.if.org Git - clang/commit
Fix test to pass when the directory name has lld in it.
authorRafael Espindola <rafael.espindola@gmail.com>
Fri, 18 Sep 2015 20:22:36 +0000 (20:22 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Fri, 18 Sep 2015 20:22:36 +0000 (20:22 +0000)
commita52a248ec8d38168dd15989ec6daacad1d43bdbb
tree422161334a0f5de650c6da46a77884848e5dffec
parent7c8ac35f5584d1b4efd893caa46141fa3a2abacc
Fix test to pass when the directory name has lld in it.

CHECK-LABEL assumes that there is only one occurrence of the match.

The output looks like:

clang version 3.8.0 (trunk 247999)
....
/path/to/build/dir/bin/clang-3.8 ....

If the path contains lld, the second CHECK-LABEL matches it and we fail since
there is no -cc1as between clang and lld.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@248029 91177308-0d34-0410-b5e6-96231b3b80d8
test/Driver/amdgpu-toolchain.c