[Lldb-commits] [PATCH] D46733: Add a lock to PlatformPOSIX::DoLoadImage

Frederic Riss via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu May 10 18:20:35 PDT 2018


friss updated this revision to Diff 146268.
friss added a comment.

I heted the idea of hosting the once_flag in Process but using
it in PlatformPOSIX. I did a bigger refactoring where platforms
pass a factory lambda to the accessor and the thread-safe init
is done in the Process class itself using this lambda.


https://reviews.llvm.org/D46733

Files:
  include/lldb/Target/Process.h
  source/Plugins/Platform/POSIX/PlatformPOSIX.cpp
  source/Plugins/Platform/POSIX/PlatformPOSIX.h
  source/Target/Process.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D46733.146268.patch
Type: text/x-patch
Size: 7372 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20180511/c2311b27/attachment-0001.bin>


More information about the lldb-commits mailing list