[Lldb-commits] [lldb] [lldb][docs] Describe how to check enabled features (PR #171468)
Charles Zablit via lldb-commits
lldb-commits at lists.llvm.org
Tue Dec 9 09:14:21 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.
+
+Alternatively, you can check the shared library dependencies of LLDB. For example
+on Linux you can use the following command:
----------------
charles-zablit wrote:
`(Get-Process lldb).Modules` in powershell gives the list of DLLs that are loaded by `lldb`:
```
(Get-Process lldb).Modules
Size(K) ModuleName FileName
------- ---------- --------
344 lldb.exe C:\Users\charleszablit\AppData\Local\Programs\Swift\Toolchains\0.0.0+Asserts\usr\bin\lldb.exe
2464 ntdll.dll C:\windows\SYSTEM32\ntdll.dll
804 KERNEL32.DLL C:\windows\System32\KERNEL32.DLL
4064 KERNELBASE.dll C:\windows\System32\KERNELBASE.dll
720 ADVAPI32.dll C:\windows\System32\ADVAPI32.dll
676 msvcrt.dll C:\windows\System32\msvcrt.dll
664 sechost.dll C:\windows\System32\sechost.dll
.
.
.
```
https://github.com/llvm/llvm-project/pull/171468
More information about the lldb-commits
mailing list