================
@@ -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:
----------------
DavidSpickett wrote:

If I understand correctly, this is for a running process 
(https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.management/get-process?view=powershell-7.5#description).

I was going to ask whether this is better than a `readelf` equivalent but:
A: we lazy load python anyway, so you wouldn't see that just from the binary
B: looking at the running process shows you libraries loaded by other libraries 
as well
C: if lldb wasn't loading at all, you wouldn't be worrying about what was 
enabled, you'd be looking for the missing thing

So I'm sure it's fine as is.

Does that copy of LLDB have libxml enabled? I have some vague memory that we 
statically link some things on Windows.

https://github.com/llvm/llvm-project/pull/171468
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to