mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-27 19:46:05 +00:00
Add a catch-all line for detecting dyld in the inferior process
shlibs so we don't miss dyld. <rdar://problem/30128580> llvm-svn: 292696
This commit is contained in:
parent
963ffd6485
commit
777fcecf8f
@ -542,6 +542,10 @@ void DynamicLoaderDarwin::UpdateSpecialBinariesFromNewImageInfos(
|
|||||||
dyld_idx = i;
|
dyld_idx = i;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else {
|
||||||
|
// catch-all for any other environment -- trust that dyld is actually dyld
|
||||||
|
dyld_idx = i;
|
||||||
|
}
|
||||||
} else if (image_infos[i].header.filetype == llvm::MachO::MH_EXECUTE) {
|
} else if (image_infos[i].header.filetype == llvm::MachO::MH_EXECUTE) {
|
||||||
exe_idx = i;
|
exe_idx = i;
|
||||||
}
|
}
|
||||||
|
@ -139,6 +139,7 @@ bool DynamicLoaderMacOS::DidSetNotificationBreakpoint() {
|
|||||||
void DynamicLoaderMacOS::ClearNotificationBreakpoint() {
|
void DynamicLoaderMacOS::ClearNotificationBreakpoint() {
|
||||||
if (LLDB_BREAK_ID_IS_VALID(m_break_id)) {
|
if (LLDB_BREAK_ID_IS_VALID(m_break_id)) {
|
||||||
m_process->GetTarget().RemoveBreakpointByID(m_break_id);
|
m_process->GetTarget().RemoveBreakpointByID(m_break_id);
|
||||||
|
m_break_id = LLDB_INVALID_BREAK_ID;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user