This revision was automatically updated to reflect the committed changes.
Closed by commit rLLDB356110: [lldb-vscode] Don't try to launch an invalid
program. (authored by jgorbe, committed by ).
Changed prior to commit:
https://reviews.llvm.org/D59340?vs=190535&id=190542#toc
Repository:
rLLDB LLDB
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D59340/new/
https://reviews.llvm.org/D59340
Files:
tools/lldb-vscode/lldb-vscode.cpp
Index: tools/lldb-vscode/lldb-vscode.cpp
===================================================================
--- tools/lldb-vscode/lldb-vscode.cpp
+++ tools/lldb-vscode/lldb-vscode.cpp
@@ -1245,6 +1245,7 @@
response, "message",
llvm::formatv("Could not load program '{0}'.", program).str());
g_vsc.SendJSON(llvm::json::Value(std::move(response)));
+ return;
}
}
Index: tools/lldb-vscode/lldb-vscode.cpp
===================================================================
--- tools/lldb-vscode/lldb-vscode.cpp
+++ tools/lldb-vscode/lldb-vscode.cpp
@@ -1245,6 +1245,7 @@
response, "message",
llvm::formatv("Could not load program '{0}'.", program).str());
g_vsc.SendJSON(llvm::json::Value(std::move(response)));
+ return;
}
}
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits