[Lldb-commits] [lldb] [lldb] Skip local variable declarations at start of Wasm function (PR #190093)

David Spickett via lldb-commits lldb-commits at lists.llvm.org
Thu Apr 2 01:45:21 PDT 2026


================
@@ -308,8 +308,16 @@ bool ObjectFileWasm::ParseHeader() {
 }
 
 struct WasmFunction {
+  /// Offset from the section to the start of the function. This points past the
+  /// function size, which some other tools consider part of the function.
   lldb::offset_t section_offset = LLDB_INVALID_OFFSET;
+
+  /// Function size.
----------------
DavidSpickett wrote:

Please add "Which includes X Y and Z." (or does not, as the case may be).

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


More information about the lldb-commits mailing list