[Lldb-commits] [lldb] [lldb-server] Add dynamic loader support to accelerator plugin protocol (PR #214564)

David Spickett via lldb-commits lldb-commits at lists.llvm.org
Mon Aug 10 02:56:11 PDT 2026


================
@@ -2862,3 +2862,37 @@ STUB REPLIES:  {"disable_bp":true,"auto_resume_native":false,"actions":{"plugin_
 
 **Priority To Implement:** Required for hardware accelerator debugging
 support. Not needed for non-hardware-accelerator debugging.
+
+### jAcceleratorPluginGetDynamicLoaderLibraryInfo
+
+Requests shared library information from an accelerator plugin. The client
+sends this packet when it needs to load or update the accelerator's shared
+library list. This packet requires the `accelerator-plugins+` feature from
+`qSupported`.
+
+```
+LLDB SENDS:    jAcceleratorPluginGetDynamicLoaderLibraryInfo:<json>
+STUB REPLIES:  <json_response>
+```
+
+The request JSON has the following fields:
+
+| Key           | Type   | Description |
+|---------------|--------|-------------|
+| `plugin_name` | string | Name of the accelerator plugin to query. |
+| `full`        | bool   | If true, return all libraries. If false, return only updates since the last query. |
----------------
DavidSpickett wrote:

Do you have any hints to give about when full=True might be needed? Are there events on the target side that mean you need to refresh everything or is it just for the debug client in case it restarts/refreshes it's information mid-session?

https://github.com/llvm/llvm-project/pull/214564


More information about the lldb-commits mailing list