[Lldb-commits] [lldb] [lldb] make PlatformAndroid/AdbClient::GetSyncService threadsafe (PR #145382)

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Tue Jul 8 06:33:48 PDT 2025


================
@@ -241,6 +234,10 @@ Status AdbClient::SendDeviceMessage(const std::string &packet) {
 Status AdbClient::ReadMessage(std::vector<char> &message) {
   message.clear();
 
+  if (!m_conn) {
----------------
labath wrote:

https://llvm.org/docs/CodingStandards.html#don-t-use-braces-on-simple-single-statement-bodies-of-if-else-loop-statements here and elsewhere

https://github.com/llvm/llvm-project/pull/145382


More information about the lldb-commits mailing list