[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:43:14 PDT 2022


fdeazeve added inline comments.
Herald added a subscriber: JDevlieghere.


================
Comment at: lldb/source/Breakpoint/Breakpoint.cpp:332
+void Breakpoint::ResetHitCount() {
+  m_hit_counter.Reset();
+  for (size_t i = 0; i < GetNumLocations(); ++i)
----------------
By the way, I don' think this counter is ever incremented anywhere. I'll removing it in a separate patch and see what happens


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