Update assertion in DYLDRendezvous.
This accounts for the case where a dlopen() call fails when loading a library with a missing dependency. llvm-svn: 219520
This commit is contained in:
parent
a39da09eb6
commit
1d33e8d38f
|
@ -203,7 +203,7 @@ DYLDRendezvous::UpdateSOEntries()
|
|||
// state and take a snapshot of the currently loaded images.
|
||||
if (m_current.state == eAdd || m_current.state == eDelete)
|
||||
{
|
||||
assert(m_previous.state == eConsistent);
|
||||
assert(m_previous.state == eConsistent || (m_previous.state == eAdd && m_current.state == eDelete));
|
||||
m_soentries.clear();
|
||||
m_added_soentries.clear();
|
||||
m_removed_soentries.clear();
|
||||
|
|
Loading…
Reference in New Issue