From 6cb78682868fd28bfbe55ec1ee55eeb861addc40 Mon Sep 17 00:00:00 2001 From: Alex Harrison Date: Tue, 22 Jul 2025 20:37:01 -0600 Subject: [PATCH 1/2] CodeViewWidget: Improve performance by removing unnecessary FillInCallers computation during update --- Source/Core/DolphinQt/Debugger/CodeViewWidget.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/Source/Core/DolphinQt/Debugger/CodeViewWidget.cpp b/Source/Core/DolphinQt/Debugger/CodeViewWidget.cpp index f94b640c41..abbf59c4ce 100644 --- a/Source/Core/DolphinQt/Debugger/CodeViewWidget.cpp +++ b/Source/Core/DolphinQt/Debugger/CodeViewWidget.cpp @@ -433,8 +433,6 @@ void CodeViewWidget::Update(const Core::CPUThreadGuard* guard) CalculateBranchIndentation(); - m_ppc_symbol_db.FillInCallers(); - repaint(); m_updating = false; } From 56f04b5406fb78859a62efff55cde361c2ac4451 Mon Sep 17 00:00:00 2001 From: Alex Harrison Date: Wed, 23 Jul 2025 12:58:52 -0600 Subject: [PATCH 2/2] PPCSymbolDB: Fill in callers after loading map files --- Source/Core/Core/PowerPC/PPCSymbolDB.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/Core/Core/PowerPC/PPCSymbolDB.cpp b/Source/Core/Core/PowerPC/PPCSymbolDB.cpp index 02da35f94b..4bfe2abd3d 100644 --- a/Source/Core/Core/PowerPC/PPCSymbolDB.cpp +++ b/Source/Core/Core/PowerPC/PPCSymbolDB.cpp @@ -622,6 +622,7 @@ bool PPCSymbolDB::LoadMap(const Core::CPUThreadGuard& guard, std::string filenam Index(&new_functions); DetermineNoteLayers(&new_notes); + FillInCallers(); std::lock_guard lock(m_mutex); std::swap(m_functions, new_functions);