From 2c0b95c8251ee1f94879447aaea30e675be5e5cd Mon Sep 17 00:00:00 2001 From: Max Desiatov Date: Thu, 16 Oct 2025 15:57:25 +0100 Subject: [PATCH 1/2] Refine `qWasmCallStack` documentation `qWasmCallStack` documentation is not clear in how the list of PC values is delimited and the size of these values. --- lldb/docs/resources/lldbgdbremote.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lldb/docs/resources/lldbgdbremote.md b/lldb/docs/resources/lldbgdbremote.md index f0c5e6b04d54c..e529ef48f1ce0 100644 --- a/lldb/docs/resources/lldbgdbremote.md +++ b/lldb/docs/resources/lldbgdbremote.md @@ -2491,7 +2491,7 @@ The packet below are supported by the ### qWasmCallStack Get the Wasm call stack for the given thread id. This returns a hex-encoded -list of PC values, one for each frame of the call stack. To match the Wasm +list (with no delimiters) of 64-bit PC values, one for each frame of the call stack. To match the Wasm specification, the addresses are encoded in little endian byte order, even if the endian of the Wasm runtime's host is not little endian. From f82439d21030c4dd87005649616fe632a8f7c0d6 Mon Sep 17 00:00:00 2001 From: Max Desiatov Date: Fri, 17 Oct 2025 12:08:27 +0100 Subject: [PATCH 2/2] Update qWasmCallStack documentation formatting Line length reflow in the relevant paragraph. --- lldb/docs/resources/lldbgdbremote.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lldb/docs/resources/lldbgdbremote.md b/lldb/docs/resources/lldbgdbremote.md index e529ef48f1ce0..5fff53965ed1e 100644 --- a/lldb/docs/resources/lldbgdbremote.md +++ b/lldb/docs/resources/lldbgdbremote.md @@ -2491,9 +2491,10 @@ The packet below are supported by the ### qWasmCallStack Get the Wasm call stack for the given thread id. This returns a hex-encoded -list (with no delimiters) of 64-bit PC values, one for each frame of the call stack. To match the Wasm -specification, the addresses are encoded in little endian byte order, even if -the endian of the Wasm runtime's host is not little endian. +list (with no delimiters) of 64-bit PC values, one for each frame of the call +stack. To match the Wasm specification, the addresses are encoded in little +endian byte order, even if the endian of the Wasm runtime's host is not little +endian. ``` send packet: $qWasmCallStack:202dbe040#08