Add an XcodeSDK::GetSDKTypeForTriple function
authorAdrian Prantl <aprantl@apple.com>
Thu, 7 May 2020 17:53:50 +0000 (10:53 -0700)
committerAdrian Prantl <aprantl@apple.com>
Thu, 7 May 2020 18:12:42 +0000 (11:12 -0700)
commit6e95d51ecfab0801b75448b20bd3447645a1142a
tree86b399eb9d22445d6433a8080ddfa2d831d411de
parent7143d7925490e9123b1c93305700221584ba10c6
Add an XcodeSDK::GetSDKTypeForTriple function

This is something used in swift-lldb, but of general usefulness.

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

<rdar://problem/62684906>
lldb/include/lldb/Utility/XcodeSDK.h
lldb/source/Utility/XcodeSDK.cpp
lldb/unittests/Utility/XcodeSDKTest.cpp