================
@@ -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:
> Does that copy of LLDB have libxml enabled? I have some vague memory that we
> statically link some things on Windows.
I don't think it does, here is the output of `dumpbin.exe` on `liblldb.dll`:
```
dumpbin /dependents 'C:\Program Files\LLVM\bin\liblldb.dll'
Microsoft (R) COFF/PE Dumper Version 14.44.35215.0
Copyright (C) Microsoft Corporation. All rights reserved.
Dump of file C:\Program Files\LLVM\bin\liblldb.dll
File Type: DLL
Image has the following dependencies:
python310.dll
KERNEL32.dll
PSAPI.DLL
ntdll.dll
ADVAPI32.dll
RPCRT4.dll
WS2_32.dll
dbghelp.dll
USER32.dll
OLEAUT32.dll
VERSION.dll
Image has the following delay load dependencies:
ole32.dll
SHELL32.dll
Summary
308000 .data
4000 .gxfg
114000 .pdata
1F5F000 .rdata
70000 .reloc
1000 .rsrc
416F000 .text
1000 .tls
1000 _RDATA
```
https://github.com/llvm/llvm-project/pull/171468
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits