[Lldb-commits] [lldb] [lldb-dap] Refactoring IOStream into Transport handler. (PR #130026)

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Wed Mar 12 09:40:36 PDT 2025


================
@@ -565,8 +568,10 @@ int main(int argc, char *argv[]) {
   lldb::IOObjectSP output = std::make_shared<NativeFile>(
       stdout_fd, File::eOpenOptionWriteOnly, false);
 
-  DAP dap = DAP("stdin/stdout", program_path, log.get(), std::move(input),
-                std::move(output), default_repl_mode, pre_init_commands);
+  std::string client_name = "stdin/stdout";
----------------
JDevlieghere wrote:

```suggestion
  llvm::StringLiteral client_name = "stdin/stdout";
```

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


More information about the lldb-commits mailing list