mirror of
https://github.com/intel/llvm.git
synced 2026-01-13 02:38:07 +08:00
[lldb-mcp] Register a NoOpMonitorCallback when launching lldb from lldb-mcp (#163270)
This commit is contained in:
committed by
GitHub
parent
b09dea1ee8
commit
a3330253b6
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user