[all-commits] [llvm/llvm-project] 2a7642: [lldb] Set the watchpoint spec for expression watc...

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Fri Mar 17 09:56:14 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2a76429778768ed29404f0396194636e2bc11b90
      https://github.com/llvm/llvm-project/commit/2a76429778768ed29404f0396194636e2bc11b90
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2023-03-17 (Fri, 17 Mar 2023)

  Changed paths:
    M lldb/source/Commands/CommandObjectWatchpoint.cpp
    M lldb/test/API/commands/watchpoints/watchpoint_set_command/TestWatchLocationWithWatchSet.py

  Log Message:
  -----------
  [lldb] Set the watchpoint spec for expression watchpoints

When setting a variable watchpoint, the watchpoint stores the variable
name in the watchpoint spec. For expression variables we should store
the expression in the watchpoint spec. This patch adds that
functionality.

rdar://106096860

Differential revision: https://reviews.llvm.org/D146262




More information about the All-commits mailing list