[lldb/CMake] Make check-lldb-* work for the standalone build.
authorJonas Devlieghere <jonas@devlieghere.com>
Mon, 30 Mar 2020 18:34:55 +0000 (11:34 -0700)
committerJonas Devlieghere <jonas@devlieghere.com>
Mon, 30 Mar 2020 18:38:37 +0000 (11:38 -0700)
commit63aaecd5bebc8cf2cd4b4f2b42183978fd30ddef
tree0648e0036b7d097fc9f1e4e5b74707f2a98b3010
parenta87ca9e4af5a794054a179688a1d73de0e97d81b
[lldb/CMake] Make check-lldb-* work for the standalone build.

In order to run check-lldb-* we need the correct map_config directives
in llvm-lit. For the standalone build, LLVM doesn't know about LLDB, and
the lldb mappings are missing. In that case we build our own llvm-lit,
and tell LLVM to use the llvm-lit in the lldb build directory.

Differential revision: https://reviews.llvm.org/D76945
lldb/test/CMakeLists.txt