[Lldb-commits] [PATCH] D157041: [lldb] Protect OptionValue accesses from data races

Augusto Noronha via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu Aug 3 14:48:14 PDT 2023


augusto2112 created this revision.
augusto2112 added reviewers: JDevlieghere, aprantl, jingham.
Herald added a project: All.
augusto2112 requested review of this revision.
Herald added a project: LLDB.
Herald added a subscriber: lldb-commits.

Thread sanitizer is catching data races in OptionValue, protect accesses
to OptionValue with a mutex.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D157041

Files:
  lldb/include/lldb/Interpreter/OptionValue.h
  lldb/source/Interpreter/OptionValue.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D157041.547009.patch
Type: text/x-patch
Size: 17825 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20230803/d1dcfd34/attachment-0001.bin>


More information about the lldb-commits mailing list