diff options
| author | Stefan Granitz <stefan.graenitz@gmail.com> | 2019-05-15 08:59:02 +0000 |
|---|---|---|
| committer | Stefan Granitz <stefan.graenitz@gmail.com> | 2019-05-15 08:59:02 +0000 |
| commit | a5588c4583a793fbdacb1944ece6a2ddc14f084c (patch) | |
| tree | 04d5a5193e2d4b9397f26f82baeaf3d2f7830e2a /lldb/docs/resources | |
| parent | d9d0665d1c6b23412771fb2e6b2f00e383d7c892 (diff) | |
| download | bcm5719-llvm-a5588c4583a793fbdacb1944ece6a2ddc14f084c.tar.gz bcm5719-llvm-a5588c4583a793fbdacb1944ece6a2ddc14f084c.zip | |
[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
Diffstat (limited to 'lldb/docs/resources')
| -rw-r--r-- | lldb/docs/resources/build.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lldb/docs/resources/build.rst b/lldb/docs/resources/build.rst index e8d99f7a221..4c8d2425fdb 100644 --- a/lldb/docs/resources/build.rst +++ b/lldb/docs/resources/build.rst @@ -151,6 +151,12 @@ variables to cmake to change build behavior. If LLDB is built as a part of LLVM, then you can pass LLVM-specific CMake variables to cmake when building LLDB. +If you are building both Clang and LLDB together, be sure to also add libc++, +which is currently required for testing on macOS: + +:: + + > cmake -D LLVM_ENABLE_PROJECTS='clang;lldb;libcxx' $PATH_TO_LLVM -G Ninja Here are some commonly used LLDB-specific CMake variables: |

