This revision was automatically updated to reflect the committed changes. Closed by commit rG1f3def30ca86: Fix heap-use-after-free when clearing DIEs in fission compile units. (authored by rupprecht).
Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D133790/new/ https://reviews.llvm.org/D133790 Files: lldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.cpp Index: lldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.cpp =================================================================== --- lldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.cpp +++ lldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.cpp @@ -598,7 +598,7 @@ m_die_array.clear(); m_die_array.shrink_to_fit(); - if (m_dwo) + if (m_dwo && !m_dwo->m_cancel_scopes) m_dwo->ClearDIEsRWLocked(); }
Index: lldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.cpp =================================================================== --- lldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.cpp +++ lldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.cpp @@ -598,7 +598,7 @@ m_die_array.clear(); m_die_array.shrink_to_fit(); - if (m_dwo) + if (m_dwo && !m_dwo->m_cancel_scopes) m_dwo->ClearDIEsRWLocked(); }
_______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits