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:
Andrew MacPherson 2014-10-10 17:47:00 +00:00
parent a39da09eb6
commit 1d33e8d38f
1 changed files with 1 additions and 1 deletions

View File

@ -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();