[Lldb-commits] [PATCH] D13942: Make SymbolFileDWARF::GetCachedSectionData thread safe

Tamas Berghammer via lldb-commits lldb-commits at lists.llvm.org
Wed Oct 21 08:54:02 PDT 2015


tberghammer updated this revision to Diff 38019.
tberghammer added a comment.

Use std::call_once instead of a std::atomic+std::mutex combination based on some offline discussion with Pavel


http://reviews.llvm.org/D13942

Files:
  source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
  source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.h
  source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDwo.cpp
  source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDwo.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13942.38019.patch
Type: text/x-patch
Size: 19301 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20151021/be7330c1/attachment-0001.bin>


More information about the lldb-commits mailing list