[Lldb-commits] [lldb] [lldb][docs] Describe how to check enabled features (PR #171468)
David Spickett via lldb-commits
lldb-commits at lists.llvm.org
Tue Dec 9 09:09:13 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.
----------------
DavidSpickett wrote:
Added this as the second method, if you've got no scripting then it's on to readelf/otool.
https://github.com/llvm/llvm-project/pull/171468
More information about the lldb-commits
mailing list