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
Paths
| Differential D146262
[lldb] Set the watchpoint spec for expression watchpoints ClosedPublic Authored by JDevlieghere on Mar 16 2023, 2:40 PM.
Details Summary 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
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Mar 16 2023, 2:43 PM Closed by commit rG2a7642977876: [lldb] Set the watchpoint spec for expression watchpoints (authored by JDevlieghere). · Explain WhyMar 17 2023, 9:56 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 506122 lldb/source/Commands/CommandObjectWatchpoint.cpp
lldb/test/API/commands/watchpoints/watchpoint_set_command/TestWatchLocationWithWatchSet.py
|