[Lldb-commits] [PATCH] D46810: 3/3: Fix DWARFUnit::GetUnitDIEPtrOnly stale pointer

Dávid Bolvanský via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu Sep 27 00:59:56 PDT 2018


xbolva00 added inline comments.


================
Comment at: lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFUnit.cpp:179
+  if (!m_die_array.empty()) {
+    lldbassert(!m_first_die || m_first_die == m_die_array.front());
+    m_first_die = m_die_array.front();
----------------
@jankratochvil is this correct assert? Our downstream lldb based on lldb 7 with our custom targets hits this assert.  If we remove it, we see no obvious breakages.


Repository:
  rL LLVM

https://reviews.llvm.org/D46810





More information about the lldb-commits mailing list