[Lldb-commits] [PATCH] D89106: [lldb] Fill Watch/AppleTV simulator gaps in PlatformDarwin
Raphael Isemann via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Tue Oct 13 06:07:14 PDT 2020
This revision was automatically updated to reflect the committed changes.
Closed by commit rGf4f4d54ae0d8: [lldb] Fill Watch/AppleTV simulator gaps in PlatformDarwin (authored by teemperor).
Herald added a project: LLDB.
Herald added a subscriber: lldb-commits.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D89106/new/
https://reviews.llvm.org/D89106
Files:
lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp
Index: lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp
===================================================================
--- lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp
+++ lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp
@@ -1325,6 +1325,12 @@
case XcodeSDK::Type::iPhoneOS:
sdks_spec.AppendPathComponent("iPhoneOS.platform");
break;
+ case XcodeSDK::Type::WatchSimulator:
+ sdks_spec.AppendPathComponent("WatchSimulator.platform");
+ break;
+ case XcodeSDK::Type::AppleTVSimulator:
+ sdks_spec.AppendPathComponent("AppleTVSimulator.platform");
+ break;
default:
llvm_unreachable("unsupported sdk");
}
@@ -1567,6 +1573,14 @@
minimum_version_option.PutCString("-mmacosx-version-min=");
minimum_version_option.PutCString(version.getAsString());
break;
+ case XcodeSDK::Type::WatchSimulator:
+ minimum_version_option.PutCString("-mwatchos-simulator-version-min=");
+ minimum_version_option.PutCString(version.getAsString());
+ break;
+ case XcodeSDK::Type::AppleTVSimulator:
+ minimum_version_option.PutCString("-mtvos-version-min=");
+ minimum_version_option.PutCString(version.getAsString());
+ break;
default:
llvm_unreachable("unsupported sdk");
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D89106.297835.patch
Type: text/x-patch
Size: 1288 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20201013/b6ab7119/attachment.bin>
More information about the lldb-commits
mailing list