[all-commits] [llvm/llvm-project] dcb0e6: [lldb] [ConnectionFileDescriptorPosix] Use a singl...

Michał Górny via All-commits all-commits at lists.llvm.org
Fri Oct 8 02:26:44 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: dcb0e687faebb8b8c31f61a0deb8c583125ffc72
      https://github.com/llvm/llvm-project/commit/dcb0e687faebb8b8c31f61a0deb8c583125ffc72
  Author: Michał Górny <mgorny at moritz.systems>
  Date:   2021-10-08 (Fri, 08 Oct 2021)

  Changed paths:
    M lldb/source/Host/posix/ConnectionFileDescriptorPosix.cpp

  Log Message:
  -----------
  [lldb] [ConnectionFileDescriptorPosix] Use a single NativeFile

Replace separate read and write NativeFile instances with a single
instance shared for reading and writing.  There is no clear indication
why two instances were used in the first place, and replacing them
with just one does not seem to cause any regressions in tests or manual
'process connect file://...'.

Differential Revision: https://reviews.llvm.org/D111314




More information about the All-commits mailing list