[Lldb-commits] [PATCH] D130972: [LLDB][NFC] Fix LLDB_WATCH_TYPE_IS_VALID macro
David Spickett via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Tue Aug 2 02:45:54 PDT 2022
DavidSpickett added a reviewer: DavidSpickett.
DavidSpickett added a comment.
Sometimes you wonder how anything works :)
I looked at the places this is used and I don't see a way to reach them from the API without the type already being `LLDB_WATCH_TYPE_READ` or `LLDB_WATCH_TYPE_WRITE`. It's checked in `lldb/source/Target/Target.cpp:CreateWatchpoint` but there's no way to fail that check using existing calls, only direct from C++. So adding a test for this isn't possible.
LGTM.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D130972/new/
https://reviews.llvm.org/D130972
More information about the lldb-commits
mailing list