Good catch

> On May 1, 2018, at 1:19 AM, Pavel Labath via Phabricator 
> <revi...@reviews.llvm.org> wrote:
> 
> 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
> 
> 
> 

_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to