Skip to content

Commit 9a9aa41

Browse files
authored
[LLDB][doc] Updates build instructions. (#84630)
Recently building libc++ requires building libunwind too. This updates the LLDB instructions. I noticed this recently and it was separately filed as #84053
1 parent 81e2047 commit 9a9aa41

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lldb/docs/resources/build.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ macOS
331331
^^^^^
332332

333333
On macOS the LLDB test suite requires libc++. Either add
334-
``LLVM_ENABLE_RUNTIMES="libcxx;libcxxabi"`` or disable the test suite with
334+
``LLVM_ENABLE_RUNTIMES="libcxx;libcxxabi;libunwind"`` or disable the test suite with
335335
``LLDB_INCLUDE_TESTS=OFF``. Further useful options:
336336

337337
* ``LLDB_BUILD_FRAMEWORK:BOOL``: Builds the LLDB.framework.
@@ -370,7 +370,7 @@ LLVM <https://llvm.org/docs/BuildingADistribution.html>`_):
370370
$ cmake -B /path/to/lldb-build -G Ninja \
371371
-C /path/to/llvm-project/lldb/cmake/caches/Apple-lldb-macOS.cmake \
372372
-DLLVM_ENABLE_PROJECTS="clang;lldb" \
373-
-DLLVM_ENABLE_RUNTIMES="libcxx;libcxxabi" \
373+
-DLLVM_ENABLE_RUNTIMES="libcxx;libcxxabi;libunwind" \
374374
llvm-project/llvm
375375

376376
$ DESTDIR=/path/to/lldb-install ninja -C /path/to/lldb-build check-lldb install-distribution
@@ -386,7 +386,7 @@ Build LLDB standalone for development with Xcode:
386386
$ cmake -B /path/to/llvm-build -G Ninja \
387387
-C /path/to/llvm-project/lldb/cmake/caches/Apple-lldb-base.cmake \
388388
-DLLVM_ENABLE_PROJECTS="clang" \
389-
-DLLVM_ENABLE_RUNTIMES="libcxx;libcxxabi" \
389+
-DLLVM_ENABLE_RUNTIMES="libcxx;libcxxabi;libunwind" \
390390
llvm-project/llvm
391391
$ ninja -C /path/to/llvm-build
392392

0 commit comments

Comments
 (0)