[Lldb-commits] [lldb] [lldb] print errors when the debug server is not found (PR #165157)

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Sun Oct 26 10:01:14 PDT 2025


================
@@ -3656,6 +3656,12 @@ Status ProcessGDBRemote::LaunchAndConnectToDebugserver(
 
   FileSpec debugserver_path = GetDebugserverPath(*GetTarget().GetPlatform());
 
+  if (!FileSystem::Instance().Exists(debugserver_path)) {
----------------
JDevlieghere wrote:

Nit: LLVM's coding style [says](https://llvm.org/docs/CodingStandards.html#don-t-use-braces-on-simple-single-statement-bodies-of-if-else-loop-statements) no braces around single-line ifs. 

https://github.com/llvm/llvm-project/pull/165157


More information about the lldb-commits mailing list