[all-commits] [llvm/llvm-project] 451741: [lldb] Change Communication::SetConnection to take...

Pavel Labath via All-commits all-commits at lists.llvm.org
Thu Apr 2 05:42:37 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 451741a9d778a260ceee608a26b5fdf2d9926982
      https://github.com/llvm/llvm-project/commit/451741a9d778a260ceee608a26b5fdf2d9926982
  Author: Pavel Labath <pavel at labath.sk>
  Date:   2020-04-02 (Thu, 02 Apr 2020)

  Changed paths:
    M lldb/include/lldb/Core/Communication.h
    M lldb/source/API/SBCommunication.cpp
    M lldb/source/Core/Communication.cpp
    M lldb/source/Plugins/Platform/gdb-server/PlatformRemoteGDBServer.cpp
    M lldb/source/Plugins/Process/MacOSX-Kernel/ProcessKDP.cpp
    M lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp
    M lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp
    M lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.h
    M lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
    M lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
    M lldb/source/Target/Process.cpp
    M lldb/tools/lldb-server/lldb-platform.cpp
    M lldb/unittests/Process/gdb-remote/GDBRemoteTestUtils.h
    M lldb/unittests/tools/lldb-server/tests/TestClient.cpp

  Log Message:
  -----------
  [lldb] Change Communication::SetConnection to take a unique_ptr

The function takes ownership of the object. This makes that explicit,
and avoids unowned pointers floating around.




More information about the All-commits mailing list