[lldb-mcp] Register a NoOpMonitorCallback when launching lldb from lldb-mcp (#163270)

This commit is contained in:
Jonas Devlieghere
2025-10-13 20:56:02 -07:00
committed by GitHub
parent b09dea1ee8
commit a3330253b6

View File

@@ -85,6 +85,8 @@ FileSpec driverPath() {
llvm::Error launch() {
FileSpec lldb_exec = driverPath();
lldb_private::ProcessLaunchInfo info;
info.SetMonitorProcessCallback(
&lldb_private::ProcessLaunchInfo::NoOpMonitorCallback);
info.SetExecutableFile(lldb_exec,
/*add_exe_file_as_first_arg=*/true);
info.GetArguments().AppendArgument("-O");