[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:47 PDT 2025
https://github.com/labath commented:
I'm not very fond of the amount of validity checks this PR is adding. What's up with that? Is it somehow related to you passing a non-nullptr-but-uninitialized Connection object (`std::make_unique<ConnectionFileDescriptor>()`) into the AdbClient? Any chance to get rid of that? Maybe by using a nullptr to mean "no connection"? Or by reducing the amount of moving around?
https://github.com/llvm/llvm-project/pull/145382
More information about the lldb-commits
mailing list