[lldb] Always log if acquiring packet sequence mutex fails
authorRaphael Isemann <teemperor@gmail.com>
Tue, 24 Mar 2020 19:24:48 +0000 (20:24 +0100)
committerRaphael Isemann <teemperor@gmail.com>
Tue, 24 Mar 2020 19:24:50 +0000 (20:24 +0100)
commit0ccc4de42eae92d5a7a1b67b29d7921c7f144b8d
tree91714a4c3de70e10eec933069676b24c99ebfcc4
parent0a9b91c390b281e90e51d5839557c5a189dd5401
[lldb] Always log if acquiring packet sequence mutex fails

Summary:
Currently we only log in debug builds but I don't see why we would do this as this is neither
expensive and seems useful.

I looked into the git history of this code and it seems originally there was also an assert here
and the logging here was the #else branch branch for non-Debug builds.

Reviewers: #lldb, labath

Reviewed By: labath

Subscribers: JDevlieghere

Differential Revision: https://reviews.llvm.org/D76698
lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp