[Lldb-commits] [PATCH] D93479: [lldb] Simplify the is_finalized logic in process and make it thread safe.
Shafik Yaghmour via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Fri Dec 18 18:53:11 PST 2020
shafik added inline comments.
================
Comment at: lldb/include/lldb/Target/Process.h:2837
+ /// from looking up or creating things during or after a finalize call.
+ std::atomic<bool> m_finalizing;
+
----------------
```
std::atomic<bool> m_finalizing{false};
```
honestly the whole thing should be refactored, the mem-initializer list is kind of ridiculous.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D93479/new/
https://reviews.llvm.org/D93479
More information about the lldb-commits
mailing list