[all-commits] [llvm/llvm-project] bd590a: [lldb] Make Platform::DebugProcess take a Target r...

Pavel Labath via All-commits all-commits at lists.llvm.org
Thu Sep 16 02:39:58 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bd590a5f895f50ceb7669de1b4a69bbcc8adb38b
      https://github.com/llvm/llvm-project/commit/bd590a5f895f50ceb7669de1b4a69bbcc8adb38b
  Author: Pavel Labath <pavel at labath.sk>
  Date:   2021-09-16 (Thu, 16 Sep 2021)

  Changed paths:
    M lldb/include/lldb/Target/Platform.h
    M lldb/source/Commands/CommandObjectPlatform.cpp
    M lldb/source/Plugins/Platform/MacOSX/PlatformAppleSimulator.cpp
    M lldb/source/Plugins/Platform/MacOSX/PlatformAppleSimulator.h
    M lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp
    M lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.h
    M lldb/source/Plugins/Platform/POSIX/PlatformPOSIX.cpp
    M lldb/source/Plugins/Platform/POSIX/PlatformPOSIX.h
    M lldb/source/Plugins/Platform/Windows/PlatformWindows.cpp
    M lldb/source/Plugins/Platform/Windows/PlatformWindows.h
    M lldb/source/Plugins/Platform/gdb-server/PlatformRemoteGDBServer.cpp
    M lldb/source/Plugins/Platform/gdb-server/PlatformRemoteGDBServer.h
    M lldb/source/Target/Platform.cpp
    M lldb/source/Target/Target.cpp

  Log Message:
  -----------
  [lldb] Make Platform::DebugProcess take a Target reference

instead of a pointer. There are just two callers of this function, and
both of them have a valid target pointer, so there's no need for all
implementations to concern themselves with whether the pointer is null.




More information about the All-commits mailing list