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();


        
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to