Mercurial > hg > CbC > CbC_llvm
diff lldb/source/Host/common/MonitoringProcessLauncher.cpp @ 236:c4bab56944e8 llvm-original
LLVM 16
author | kono |
---|---|
date | Wed, 09 Nov 2022 17:45:10 +0900 |
parents | 1d019706d866 |
children |
line wrap: on
line diff
--- a/lldb/source/Host/common/MonitoringProcessLauncher.cpp Wed Jul 21 10:27:27 2021 +0900 +++ b/lldb/source/Host/common/MonitoringProcessLauncher.cpp Wed Nov 09 17:45:10 2022 +0900 @@ -10,6 +10,7 @@ #include "lldb/Host/FileSystem.h" #include "lldb/Host/HostProcess.h" #include "lldb/Host/ProcessLaunchInfo.h" +#include "lldb/Utility/LLDBLog.h" #include "lldb/Utility/Log.h" #include "llvm/Support/FileSystem.h" @@ -50,12 +51,11 @@ m_delegate_launcher->LaunchProcess(resolved_info, error); if (process.GetProcessId() != LLDB_INVALID_PROCESS_ID) { - Log *log(lldb_private::GetLogIfAllCategoriesSet(LIBLLDB_LOG_PROCESS)); + Log *log = GetLog(LLDBLog::Process); assert(launch_info.GetMonitorProcessCallback()); llvm::Expected<HostThread> maybe_thread = - process.StartMonitoring(launch_info.GetMonitorProcessCallback(), - launch_info.GetMonitorSignals()); + process.StartMonitoring(launch_info.GetMonitorProcessCallback()); if (!maybe_thread) error.SetErrorStringWithFormatv("failed to launch host thread: {}", llvm::toString(maybe_thread.takeError()));