aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Host/common/UDPSocket.cpp
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2022-07-03 14:10:23 +0000
committerDimitry Andric <dim@FreeBSD.org>2022-07-03 14:10:23 +0000
commit145449b1e420787bb99721a429341fa6be3adfb6 (patch)
tree1d56ae694a6de602e348dd80165cf881a36600ed /lldb/source/Host/common/UDPSocket.cpp
parentecbca9f5fb7d7613d2b94982c4825eb0d33d6842 (diff)
Diffstat (limited to 'lldb/source/Host/common/UDPSocket.cpp')
-rw-r--r--lldb/source/Host/common/UDPSocket.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lldb/source/Host/common/UDPSocket.cpp b/lldb/source/Host/common/UDPSocket.cpp
index 31266c980e0e..e40066d519c6 100644
--- a/lldb/source/Host/common/UDPSocket.cpp
+++ b/lldb/source/Host/common/UDPSocket.cpp
@@ -9,6 +9,7 @@
#include "lldb/Host/common/UDPSocket.h"
#include "lldb/Host/Config.h"
+#include "lldb/Utility/LLDBLog.h"
#include "lldb/Utility/Log.h"
#if LLDB_ENABLE_POSIX
@@ -54,7 +55,7 @@ llvm::Expected<std::unique_ptr<UDPSocket>>
UDPSocket::Connect(llvm::StringRef name, bool child_processes_inherit) {
std::unique_ptr<UDPSocket> socket;
- Log *log(lldb_private::GetLogIfAnyCategoriesSet(LIBLLDB_LOG_CONNECTION));
+ Log *log = GetLog(LLDBLog::Connection);
LLDB_LOG(log, "host/port = {0}", name);
Status error;