[Lldb-commits] [lldb] [lldb][windows] add a Windows FifoFile implementation (PR #185894)

Sergei Druzhkov via lldb-commits lldb-commits at lists.llvm.org
Wed Mar 11 09:18:23 PDT 2026


================
@@ -20,11 +21,27 @@ namespace lldb_dap {
 ///
 /// The file is destroyed when the destructor is invoked.
 struct FifoFile {
-  FifoFile(llvm::StringRef path);
+  FifoFile(llvm::StringRef path, lldb::pipe_t pipe = LLDB_INVALID_PIPE);
 
   ~FifoFile();
 
+  void Connect();
+
+  void WriteLine(std::string line);
----------------
DrSergei wrote:

Maybe better to pass string as a const reference or use `llvm::StringRef`

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


More information about the lldb-commits mailing list