Vendor import of lldb release_70 branch r348011:
https://llvm.org/svn/llvm-project/lldb/branches/release_70@348011
This commit is contained in:
parent
4cc398f0bc
commit
9508e63251
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/vendor/lldb/dist-release_70/; revision=341372 svn path=/vendor/lldb/lldb-release_701-r349250/; revision=342122; tag=vendor/lldb/lldb-release_701-r349250
@ -261,7 +261,11 @@ void DWARFUnit::ExtractDIEsRWLocked() {
|
||||
}
|
||||
|
||||
if (!m_die_array.empty()) {
|
||||
lldbassert(!m_first_die || m_first_die == m_die_array.front());
|
||||
if (m_first_die) {
|
||||
// Only needed for the assertion.
|
||||
m_first_die.SetEmptyChildren(m_die_array.front().GetEmptyChildren());
|
||||
lldbassert(m_first_die == m_die_array.front());
|
||||
}
|
||||
m_first_die = m_die_array.front();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user