[PATCH] D114845: [llvm] [Debuginfod] DebuginfodCollection and DebuginfodServer for tracking local debuginfo.

Noah Shutty via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 16 17:55:28 PDT 2022


noajshu updated this revision to Diff 437761.
noajshu added a comment.

Per the discussion on D126815 <https://reviews.llvm.org/D126815>, we switch the concurrency model to one in which workers directly advance the shared (lock-protected) directory iterator.

We add a condition variable to notify the main update thread when the iteration is complete and all workers have returned. We have removed the dependency on `waitQueueSize` so that we can proceed without D126815 <https://reviews.llvm.org/D126815>.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D114845/new/

https://reviews.llvm.org/D114845

Files:
  llvm/include/llvm/DebugInfo/Symbolize/Symbolize.h
  llvm/include/llvm/Debuginfod/Debuginfod.h
  llvm/lib/DebugInfo/Symbolize/Symbolize.cpp
  llvm/lib/Debuginfod/CMakeLists.txt
  llvm/lib/Debuginfod/Debuginfod.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D114845.437761.patch
Type: text/x-patch
Size: 18272 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220617/b88ef964/attachment.bin>


More information about the llvm-commits mailing list