[all-commits] [llvm/llvm-project] f0c08b: Move the Xcode SDK path caching to HostInfo

adrian-prantl via All-commits all-commits at lists.llvm.org
Wed May 6 13:44:16 PDT 2020


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

  Changed paths:
    M lldb/include/lldb/Host/HostInfoBase.h
    M lldb/include/lldb/Host/macosx/HostInfoMacOSX.h
    M lldb/include/lldb/Target/Platform.h
    M lldb/source/Core/Module.cpp
    M lldb/source/Host/macosx/objcxx/HostInfoMacOSX.mm
    M lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp
    M lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.h
    M lldb/source/Plugins/Platform/MacOSX/PlatformMacOSX.cpp
    M lldb/unittests/Host/HostInfoTest.cpp

  Log Message:
  -----------
  Move the Xcode SDK path caching to HostInfo

When debugging a remote platform, the platform you get from
GetPlatformForArchitecture doesn't inherit from PlatformDarwin.
HostInfoMacOSX seems like the right place to have a global store of
local paths.

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




More information about the All-commits mailing list