[Lldb-commits] [PATCH] D39967: Disable breakpoints before writing memory and re-enable after.

Zachary Turner via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu Feb 22 15:31:26 PST 2018


zturner added inline comments.


================
Comment at: include/lldb/Breakpoint/BreakpointSiteList.h:159-161
+  class Guard : private std::unique_lock<std::recursive_mutex> {
+    using std::unique_lock<std::recursive_mutex>::unique_lock;
+  };
----------------
Err, I meant to just deleted the `Guard` class entirely and return `llvm::Optional<std::unique_lock<std::recursive_mutex>>`


https://reviews.llvm.org/D39967





More information about the lldb-commits mailing list