[CMake] Add error to clarify that lldb requires libcxx
authorStefan Granitz <stefan.graenitz@gmail.com>
Wed, 15 May 2019 08:59:02 +0000 (08:59 +0000)
committerStefan Granitz <stefan.graenitz@gmail.com>
Wed, 15 May 2019 08:59:02 +0000 (08:59 +0000)
commita5588c4583a793fbdacb1944ece6a2ddc14f084c
tree04d5a5193e2d4b9397f26f82baeaf3d2f7830e2a
parentd9d0665d1c6b23412771fb2e6b2f00e383d7c892
[CMake] Add error to clarify that lldb requires libcxx

Summary:
This adds a specific error message to clarify that lldb requires libcxx when
built together with clang on macOS. In addition, the lldb building docs are also
updated.

Fixes https://bugs.llvm.org/show_bug.cgi?id=41866

Reviewers: sgraenitz, JDevlieghere, EricWF

Reviewed By: sgraenitz

Subscribers: mgorny, lldb-commits

Tags: #lldb

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

llvm-svn: 360756
lldb/CMakeLists.txt
lldb/docs/resources/build.rst