[all-commits] [llvm/llvm-project] a68d19: [lldb] Fix SBValue::Watch on a local variable. (#2...

Ebuka Ezike via All-commits all-commits at lists.llvm.org
Wed Sep 23 05:42:51 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a68d1990c7a7c5ddfc95d766ce2ce7bbc69e6c32
      https://github.com/llvm/llvm-project/commit/a68d1990c7a7c5ddfc95d766ce2ce7bbc69e6c32
  Author: Ebuka Ezike <e_ezike at apple.com>
  Date:   2026-09-23 (Wed, 23 Sep 2026)

  Changed paths:
    M lldb/source/API/SBValue.cpp
    M lldb/test/API/python_api/watchpoint/TestSetWatchpoint.py
    M lldb/test/API/python_api/watchpoint/main.c

  Log Message:
  -----------
  [lldb] Fix SBValue::Watch on a local variable. (#220292)

Setting a watchpoint on an SBValue variable should not trigger after the
life time of the variable. because a new frame can reuse the same
address for a different variable.

Set the name of the variable as the watch spec.



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