From 145449b1e420787bb99721a429341fa6be3adfb6 Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Sun, 3 Jul 2022 16:10:23 +0200 Subject: Vendor import of llvm-project main llvmorg-15-init-15358-g53dc0f107877. --- lldb/source/Core/StreamFile.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lldb/source/Core/StreamFile.cpp') diff --git a/lldb/source/Core/StreamFile.cpp b/lldb/source/Core/StreamFile.cpp index 7753397ae0f1..8aac0b6d6306 100644 --- a/lldb/source/Core/StreamFile.cpp +++ b/lldb/source/Core/StreamFile.cpp @@ -8,6 +8,7 @@ #include "lldb/Core/StreamFile.h" #include "lldb/Host/FileSystem.h" +#include "lldb/Utility/LLDBLog.h" #include "lldb/Utility/Log.h" #include @@ -37,7 +38,7 @@ StreamFile::StreamFile(const char *path, File::OpenOptions options, m_file_sp = std::move(file.get()); else { // TODO refactor this so the error gets popagated up instead of logged here. - LLDB_LOG_ERROR(GetLogIfAllCategoriesSet(LIBLLDB_LOG_HOST), file.takeError(), + LLDB_LOG_ERROR(GetLog(LLDBLog::Host), file.takeError(), "Cannot open {1}: {0}", path); m_file_sp = std::make_shared(); } -- cgit v1.3