https://github.com/da-viper created https://github.com/llvm/llvm-project/pull/164243
None >From 08343ffa07fe2928d2aa453a2c17f24c2a769ab8 Mon Sep 17 00:00:00 2001 From: Ebuka Ezike <[email protected]> Date: Mon, 20 Oct 2025 12:43:21 +0100 Subject: [PATCH] [lldb-dap][NFC] avoid copy in launch commands. --- lldb/tools/lldb-dap/Handler/RequestHandler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lldb/tools/lldb-dap/Handler/RequestHandler.cpp b/lldb/tools/lldb-dap/Handler/RequestHandler.cpp index e7d9b89653f1c..de63c9d78efd1 100644 --- a/lldb/tools/lldb-dap/Handler/RequestHandler.cpp +++ b/lldb/tools/lldb-dap/Handler/RequestHandler.cpp @@ -181,7 +181,7 @@ void BaseRequestHandler::Run(const Request &request) { llvm::Error BaseRequestHandler::LaunchProcess( const protocol::LaunchRequestArguments &arguments) const { - auto launchCommands = arguments.launchCommands; + const std::vector<std::string> &launchCommands = arguments.launchCommands; // Instantiate a launch info instance for the target. auto launch_info = dap.target.GetLaunchInfo(); _______________________________________________ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
