[Lldb-commits] [PATCH] D133858: [lldb] Reset breakpoint hit count before new runs
Felipe de Azevedo Piovezan via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Wed Sep 14 06:59:05 PDT 2022
fdeazeve added inline comments.
================
Comment at: lldb/source/Breakpoint/Breakpoint.cpp:332
+void Breakpoint::ResetHitCount() {
+ m_hit_counter.Reset();
+ for (size_t i = 0; i < GetNumLocations(); ++i)
----------------
fdeazeve wrote:
> By the way, I don' think this counter is ever incremented anywhere. I'll removing it in a separate patch and see what happens
Ah, nvm, `Breakpoint` is a `friend` of `BreakpointLocation`, and the latter increments this counter
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D133858/new/
https://reviews.llvm.org/D133858
More information about the lldb-commits
mailing list