This is an archive of the discontinued LLVM Phabricator instance.

[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 Timeline

JDevlieghere created this revision.Mar 16 2023, 2:40 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 16 2023, 2:40 PM
JDevlieghere requested review of this revision.Mar 16 2023, 2:40 PM
JDevlieghere edited the summary of this revision. (Show Details)
mib accepted this revision.Mar 16 2023, 2:43 PM

LGTM!

This revision is now accepted and ready to land.Mar 16 2023, 2:43 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 17 2023, 9:56 AM