[all-commits] [llvm/llvm-project] e4c0f3: [lldb] Fix updating persistent variables without J...

Igor Kudrin via All-commits all-commits at lists.llvm.org
Wed Jul 30 12:54:36 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e4c0f300309fbdcdabc43ff4bf57957181d6451e
      https://github.com/llvm/llvm-project/commit/e4c0f300309fbdcdabc43ff4bf57957181d6451e
  Author: Igor Kudrin <ikudrin at accesssoftek.com>
  Date:   2025-07-30 (Wed, 30 Jul 2025)

  Changed paths:
    M lldb/source/Expression/Materializer.cpp
    M lldb/test/API/functionalities/postmortem/elf-core/expr/TestExpr.py

  Log Message:
  -----------
  [lldb] Fix updating persistent variables without JIT (#149642)

This patch fixes updating persistent variables when memory cannot be
allocated in an inferior process:
```
> lldb -c test.core
(lldb) expr int $i = 5
(lldb) expr $i = 55
(int) $0 = 55
(lldb) expr $i
(int) $i = 5
```

With this patch, the last command prints:
```
(int) $i = 55
```

The issue was introduced in #145599.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list