[Lldb-commits] [lldb] 4a5dbd5 - [lldb-dap][NFC] avoid copy in launch process (#164243)
via lldb-commits
lldb-commits at lists.llvm.org
Mon Oct 20 07:49:43 PDT 2025
Author: Ebuka Ezike
Date: 2025-10-20T15:49:39+01:00
New Revision: 4a5dbd5633d80fafc7750c8d42462e7922cc0a46
URL: https://github.com/llvm/llvm-project/commit/4a5dbd5633d80fafc7750c8d42462e7922cc0a46
DIFF: https://github.com/llvm/llvm-project/commit/4a5dbd5633d80fafc7750c8d42462e7922cc0a46.diff
LOG: [lldb-dap][NFC] avoid copy in launch process (#164243)
Added:
Modified:
lldb/tools/lldb-dap/Handler/RequestHandler.cpp
Removed:
################################################################################
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();
More information about the lldb-commits
mailing list