[all-commits] [llvm/llvm-project] 3d7b92: Move GetXcode*Directory into HostInfo (NFC)

adrian-prantl via All-commits all-commits at lists.llvm.org
Fri Jun 5 11:59:48 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 3d7b926dd16ff9ff264337793b76080681636f15
      https://github.com/llvm/llvm-project/commit/3d7b926dd16ff9ff264337793b76080681636f15
  Author: Adrian Prantl <aprantl at apple.com>
  Date:   2020-06-05 (Fri, 05 Jun 2020)

  Changed paths:
    M lldb/include/lldb/Host/HostInfoBase.h
    M lldb/include/lldb/Host/macosx/HostInfoMacOSX.h
    M lldb/include/lldb/Utility/XcodeSDK.h
    M lldb/source/Host/macosx/objcxx/HostInfoMacOSX.mm
    M lldb/source/Plugins/Platform/MacOSX/PlatformAppleSimulator.cpp
    M lldb/source/Plugins/Platform/MacOSX/PlatformAppleTVSimulator.cpp
    M lldb/source/Plugins/Platform/MacOSX/PlatformAppleWatchSimulator.cpp
    M lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp
    M lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.h
    M lldb/source/Plugins/Platform/MacOSX/PlatformDarwinKernel.cpp
    M lldb/source/Plugins/Platform/MacOSX/PlatformMacOSX.cpp
    M lldb/source/Plugins/Platform/MacOSX/PlatformRemoteDarwinDevice.cpp
    M lldb/source/Plugins/Platform/MacOSX/PlatformiOSSimulator.cpp
    M lldb/source/Utility/XcodeSDK.cpp
    M lldb/unittests/Platform/PlatformDarwinTest.cpp
    M lldb/unittests/Utility/XcodeSDKTest.cpp

  Log Message:
  -----------
  Move GetXcode*Directory into HostInfo (NFC)

These functions really don't belong into PlatformDarwin, since they
actualy query state of the Host and not of the remote platform.


  Commit: 79daa3d896495e2755e530ce0658be3e80dfe4c9
      https://github.com/llvm/llvm-project/commit/79daa3d896495e2755e530ce0658be3e80dfe4c9
  Author: Adrian Prantl <aprantl at apple.com>
  Date:   2020-06-05 (Fri, 05 Jun 2020)

  Changed paths:
    M lldb/source/Host/macosx/objcxx/HostInfoMacOSX.mm

  Log Message:
  -----------
  Teach GetXcodeSDK to look in the Xcode that contains LLDB

instead of preferring the one chosen with xcode-select.

<rdar://problem/64000666>

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


Compare: https://github.com/llvm/llvm-project/compare/45e1a22a92bf...79daa3d89649


More information about the All-commits mailing list