[lldb] Make compiler-rt an optional LLDB test dependency
authorJonas Devlieghere <jonas@devlieghere.com>
Mon, 25 Jul 2022 16:26:09 +0000 (09:26 -0700)
committerJonas Devlieghere <jonas@devlieghere.com>
Mon, 25 Jul 2022 16:28:56 +0000 (09:28 -0700)
commit52465dc17877d742aad737622e0da04aea2d72cb
tree2acc334a7f44c229420bbdb9712507fd0aac5a54
parent00060a7b9797f87a5baffef224637e2469189db8
[lldb] Make compiler-rt an optional LLDB test dependency

Make compiler-rt an LLDB test dependency if the corresponding target
exists. Similarly we already have `asan` and `tsan` as optional test
dependencies, but we need the `compiler-rt` target when enabling
compiler-rt trough LLVM_ENABLE_RUNTIMES.
lldb/test/CMakeLists.txt