[Lldb-commits] [lldb] 3c570db - [lldb] Fix test failures on arm introduced by #184815 (#194157)
via lldb-commits
lldb-commits at lists.llvm.org
Tue Apr 28 14:05:56 PDT 2026
Author: Philip DePetro
Date: 2026-04-28T14:05:52-07:00
New Revision: 3c570dbc474c2a690282524b5eb6a9f6b38663c6
URL: https://github.com/llvm/llvm-project/commit/3c570dbc474c2a690282524b5eb6a9f6b38663c6
DIFF: https://github.com/llvm/llvm-project/commit/3c570dbc474c2a690282524b5eb6a9f6b38663c6.diff
LOG: [lldb] Fix test failures on arm introduced by #184815 (#194157)
@jasonmolenda I don't have access to arm hardware, so I'm relying
heavily on Claude's recommendation.
Added:
Modified:
lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
Removed:
################################################################################
diff --git a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
index 188f47dce1814..04dd2910e2990 100644
--- a/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
+++ b/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
@@ -6113,7 +6113,7 @@ void ProcessGDBRemote::DidForkSwitchSoftwareBreakpoints(
lldb::addr_t entry_addr = LLDB_INVALID_ADDRESS;
if (!enable && is_expression_fork) {
if (auto entry = GetTarget().GetEntryPointAddress())
- entry_addr = entry->GetLoadAddress(&GetTarget());
+ entry_addr = entry->GetOpcodeLoadAddress(&GetTarget());
}
GetBreakpointSiteList().ForEach([this, enable, entry_addr,
More information about the lldb-commits
mailing list