Skip to content

Commit d14719e

Browse files
compnerdbulbazord
authored andcommitted
Swift: adjust for API changes
Update the Swift type system plugin for the changed API to enable the necessary support for Windows. (cherry picked from commit 4bfbcfb)
1 parent 4f34293 commit d14719e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lldb/source/Plugins/TypeSystem/Swift/SwiftASTContext.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1715,7 +1715,7 @@ static llvm::Optional<StringRef> GetDSYMBundle(Module &module) {
17151715
}
17161716

17171717
static std::string GetSDKPath(std::string m_description, XcodeSDK sdk) {
1718-
auto sdk_path_or_err = HostInfo::GetXcodeSDKPath(sdk);
1718+
auto sdk_path_or_err = HostInfo::GetSDKRoot(HostInfo::SDKOptions{sdk});
17191719
if (!sdk_path_or_err) {
17201720
Debugger::ReportError("Error while searching for SDK: " +
17211721
toString(sdk_path_or_err.takeError()));

0 commit comments

Comments
 (0)