[Lldb-commits] [lldb] [lldb][docs] Describe how to check enabled features (PR #171468)
Jonas Devlieghere via lldb-commits
lldb-commits at lists.llvm.org
Tue Dec 9 08:49:24 PST 2025
================
@@ -97,3 +97,33 @@ for any source file and line breakpoints that the IDE set using:
::
(lldb) breakpoint list --verbose
+
+How Do I Find Out Which Features My Version Of LLDB Has?
+--------------------------------------------------------
+
+Some features such as XML parsing are optional and must be enabled when LLDB is
+built. To check which features your copy of LLDB has enabled, use the ``version``
+command from within LLDB:
+
+::
+
+ (lldb) version -v
+
+.. note::
+ This feature was added in LLDB 22. If you are using an earlier version, you
+ can use the method below.
----------------
JDevlieghere wrote:
```
(lldb) script lldb.debugger.GetBuildConfiguration()
curl:
description: A boolean value that indicates if CURL support is enabled in LLDB
value: False
curses:
description: A boolean value that indicates if curses support is enabled in LLDB
value: True
editline:
description: A boolean value that indicates if editline support is enabled in LLDB
value: True
editline_wchar:
description: A boolean value that indicates if editline wide characters support is enabled in LLDB
value: True
fbsdvmcore:
description: A boolean value that indicates if fbsdvmcore support is enabled in LLDB
value: False
lua:
description: A boolean value that indicates if lua support is enabled in LLDB
value: False
lzma:
description: A boolean value that indicates if lzma support is enabled in LLDB
value: False
python:
description: A boolean value that indicates if python support is enabled in LLDB
value: True
swift:
description: A boolean value that indicates if Swift support is enabled in LLDB
value: True
targets:
description: A list of configured LLVM targets.
value:
[0]: X86
[1]: ARM
[2]: AArch64
[3]: PowerPC
[4]: SystemZ
[5]: Mips
[6]: RISCV
[7]: WebAssembly
[8]: AVR
xml:
description: A boolean value that indicates if XML support is enabled in LLDB
value: True
```
https://github.com/llvm/llvm-project/pull/171468
More information about the lldb-commits
mailing list