These functions really don't belong into PlatformDarwin, since they actually query state of the Host and not of the remote platform.
Details
Details
Diff Detail
Diff Detail
| Paths 
 |  Differential  D81209  
Move GetXcode*Directory into HostInfo (NFC) ClosedPublic Authored by aprantl on Jun 4 2020, 7:05 PM. 
Details 
 Summary These functions really don't belong into PlatformDarwin, since they actually query state of the Host and not of the remote platform. 
Diff Detail Event Timelineaprantl added a child revision: D81210: Teach GetXcodeSDK to look in the Xcode that contains LLDB.Jun 4 2020, 7:07 PM This revision is now accepted and ready to land.Jun 5 2020, 9:24 AM 
Revision Contents 
Diff 268636 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.h
 lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp
 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
 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||