[Lldb-commits] [PATCH] D125253: Add the ability to debug through an exec into ld
jeffrey tan via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Mon May 9 12:10:44 PDT 2022
yinghuitan added inline comments.
================
Comment at: lldb/source/Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.cpp:312
BreakpointSP dyld_break;
- if (m_rendezvous.IsValid()) {
+ if (m_rendezvous.IsValid() && m_rendezvous.GetBreakAddress() != 0) {
break_addr = m_rendezvous.GetBreakAddress();
----------------
Since zero break address is considered invalid, maybe move `m_rendezvous.GetBreakAddress() != 0` check into `DYLDRendezvous::IsValid()` method?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D125253/new/
https://reviews.llvm.org/D125253
More information about the lldb-commits
mailing list