[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:22 PDT 2026


================
@@ -223,6 +223,11 @@ class Symbol : public SymbolContextScope {
   // in bytes, else it will return zero.
   uint32_t GetPrologueByteSize();
 
+  void SetPrologueByteSize(uint32_t prologue_byte_size) {
+    m_type_data = prologue_byte_size;
----------------
DavidSpickett wrote:

The setter says:
```
  // If m_type is "Code" or "Function" then this will return the prologue size
  // in bytes, else it will return zero.
```
Is it worth asserting here that m_type is code or function too?

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


More information about the lldb-commits mailing list