Skip to content

Commit 4bfbcfb

Browse files
committed
Swift: adjust for API changes
Update the Swift type system plugin for the changed API to enable the necessary support for Windows.
1 parent 0aba9f9 commit 4bfbcfb

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

14191419
static std::string GetSDKPath(std::string m_description, XcodeSDK sdk) {
1420-
auto sdk_path_or_err = HostInfo::GetXcodeSDKPath(sdk);
1420+
auto sdk_path_or_err = HostInfo::GetSDKRoot(HostInfo::SDKOptions{sdk});
14211421
if (!sdk_path_or_err) {
14221422
Debugger::ReportError("Error while searching for Xcode SDK: " +
14231423
toString(sdk_path_or_err.takeError()));

0 commit comments

Comments
 (0)