[all-commits] [llvm/llvm-project] 13dea0: [lldb] Fix some bugs in the Pipe class and add tests

Pavel Labath via All-commits all-commits at lists.llvm.org
Sun Jan 10 12:59:36 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 13dea030b3d794d05a08dd0080c35844c9ca1b30
      https://github.com/llvm/llvm-project/commit/13dea030b3d794d05a08dd0080c35844c9ca1b30
  Author: Pavel Labath <pavel at labath.sk>
  Date:   2021-01-10 (Sun, 10 Jan 2021)

  Changed paths:
    M lldb/source/Host/posix/PipePosix.cpp
    M lldb/unittests/Host/CMakeLists.txt
    A lldb/unittests/Host/PipeTest.cpp

  Log Message:
  -----------
  [lldb] Fix some bugs in the Pipe class and add tests

- s/createUniqueFile/createUniquePath -- we don't want to create the file,
  just the file name
- s/data()/str().c_str()/ -- paths given to system apis must be
  null-terminated




More information about the All-commits mailing list