[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 01:07:25 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();
----------------
xbolva00 wrote:
> @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.
cc @labath 


Repository:
  rL LLVM

https://reviews.llvm.org/D46810





More information about the lldb-commits mailing list