[test] Add libLTO as a clang test dependency on Darwin
authorVedant Kumar <vsk@apple.com>
Tue, 30 Aug 2016 19:57:40 +0000 (19:57 +0000)
committerVedant Kumar <vsk@apple.com>
Tue, 30 Aug 2016 19:57:40 +0000 (19:57 +0000)
commit139756308aa96dc4d71967ef1cf3963bccbb57cd
tree89ff0abaf12e25d39af27278938b2a4748ba8fb2
parentd63c86590646b037f8cef875237edfbd2fcc6530
[test] Add libLTO as a clang test dependency on Darwin

Running 'check-clang' on a stock checkout of llvm+clang doesn't work on
Darwin, because test/Driver/darwin-ld-lto.c can't find libLTO.dylib. Add
libLTO as a clang test dependency on Darwin to fix the problem.

Note: We don't have this issue with check-all because libLTO is in the
test-depends target.

Differential Revision: https://reviews.llvm.org/D24042

llvm-svn: 280142
clang/test/CMakeLists.txt