Move GetXcode*Directory into HostInfo (NFC)
authorAdrian Prantl <aprantl@apple.com>
Fri, 5 Jun 2020 00:57:11 +0000 (17:57 -0700)
committerAdrian Prantl <aprantl@apple.com>
Fri, 5 Jun 2020 18:59:22 +0000 (11:59 -0700)
commit3d7b926dd16ff9ff264337793b76080681636f15
tree9c046df040f2cac3695f5d407fbffda97737299d
parent45e1a22a92bf2c33336ccc02ea4fa3996f60252b
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.
16 files changed:
lldb/include/lldb/Host/HostInfoBase.h
lldb/include/lldb/Host/macosx/HostInfoMacOSX.h
lldb/include/lldb/Utility/XcodeSDK.h
lldb/source/Host/macosx/objcxx/HostInfoMacOSX.mm
lldb/source/Plugins/Platform/MacOSX/PlatformAppleSimulator.cpp
lldb/source/Plugins/Platform/MacOSX/PlatformAppleTVSimulator.cpp
lldb/source/Plugins/Platform/MacOSX/PlatformAppleWatchSimulator.cpp
lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp
lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.h
lldb/source/Plugins/Platform/MacOSX/PlatformDarwinKernel.cpp
lldb/source/Plugins/Platform/MacOSX/PlatformMacOSX.cpp
lldb/source/Plugins/Platform/MacOSX/PlatformRemoteDarwinDevice.cpp
lldb/source/Plugins/Platform/MacOSX/PlatformiOSSimulator.cpp
lldb/source/Utility/XcodeSDK.cpp
lldb/unittests/Platform/PlatformDarwinTest.cpp
lldb/unittests/Utility/XcodeSDKTest.cpp