[Lldb-commits] [lldb] [lldb] Fix reading 32-bit signed integers (PR #169150)

Igor Kudrin via lldb-commits lldb-commits at lists.llvm.org
Mon Nov 24 20:05:23 PST 2025


================
@@ -72,8 +72,11 @@ class DummyProcess : public Process {
 
   // Test-specific additions
   size_t m_bytes_left;
+  int m_filler = 'B';
   MemoryCache &GetMemoryCache() { return m_memory_cache; }
   void SetMaxReadSize(size_t size) { m_bytes_left = size; }
+  void SetFiller(int filler) { m_filler = filler; }
+  using Process::SetPrivateState;
----------------
igorkudrin wrote:

I needed it to make the process look alive. In the last update, I overrode `IsAlive()` directly.

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


More information about the lldb-commits mailing list