[PATCH] D40470: DWZ 03/07: Protect DWARFCompileUnit::m_die_array by a new mutex
Pavel Labath via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue May 1 01:19:59 PDT 2018
labath added inline comments.
================
Comment at: lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFUnit.cpp:317
void DWARFUnit::ClearDIEs(bool keep_compile_unit_die) {
if (m_die_array.size() > 1) {
+ llvm::sys::ScopedWriter lock(m_extractdies_mutex);
----------------
You're accessing m_die_array without holding a lock.
Repository:
rL LLVM
https://reviews.llvm.org/D40470
More information about the llvm-commits
mailing list