Skip to content

Commit c5689f1

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) (cherry picked from commit d14719e)
1 parent 5c02d23 commit c5689f1

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
@@ -1716,7 +1716,7 @@ static llvm::Optional<StringRef> GetDSYMBundle(Module &module) {
17161716
}
17171717

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

0 commit comments

Comments
 (0)