[debugserver] Remove bridgeos availability
authorJonas Devlieghere <jonas@devlieghere.com>
Sat, 5 Dec 2020 18:17:48 +0000 (10:17 -0800)
committerJonas Devlieghere <jonas@devlieghere.com>
Sat, 5 Dec 2020 18:18:45 +0000 (10:18 -0800)
I didn't realize that the 'bridgeos' is not part of the public SDK.

lldb/tools/debugserver/source/MacOSX/MachProcess.mm

index fad3978..232a0d2 100644 (file)
@@ -3273,8 +3273,7 @@ pid_t MachProcess::PosixSpawnChildForPTraceDebugging(
     bool slice_preference_set = false;
 
     if (cpu_subtype != 0) {
-      if (@available(macOS 10.16, ios 10.14, watchos 7.0, tvos 14.0,
-                     bridgeos 5.0, *)) {
+      if (@available(macOS 10.16, ios 10.14, watchos 7.0, tvos 14.0, *)) {
         err.SetError(posix_spawnattr_setarchpref_np(&attr, 1, &cpu_type,
                                                     &cpu_subtype, &ocount));
         slice_preference_set = err.Success();