[lldb] Remove commented out code/logging in BreakpointSiteList (NFC)
authorJonas Devlieghere <jonas@devlieghere.com>
Tue, 30 May 2023 22:54:04 +0000 (15:54 -0700)
committerJonas Devlieghere <jonas@devlieghere.com>
Wed, 31 May 2023 00:27:58 +0000 (17:27 -0700)
lldb/source/Breakpoint/BreakpointSiteList.cpp

index 32a2f24..ab15da8 100644 (file)
@@ -48,15 +48,8 @@ bool BreakpointSiteList::ShouldStop(StoppointCallbackContext *context,
   return true;
 }
 lldb::break_id_t BreakpointSiteList::FindIDByAddress(lldb::addr_t addr) {
-  BreakpointSiteSP bp = FindByAddress(addr);
-  if (bp) {
-    // DBLogIf(PD_LOG_BREAKPOINTS, "BreakpointSiteList::%s ( addr = 0x%8.8"
-    // PRIx64 " ) => %u", __FUNCTION__, (uint64_t)addr, bp->GetID());
+  if (BreakpointSiteSP bp = FindByAddress(addr))
     return bp.get()->GetID();
-  }
-  // DBLogIf(PD_LOG_BREAKPOINTS, "BreakpointSiteList::%s ( addr = 0x%8.8"
-  // PRIx64
-  // " ) => NONE", __FUNCTION__, (uint64_t)addr);
   return LLDB_INVALID_BREAK_ID;
 }