From c722096b399695e89f283f0847474ccb038515f2 Mon Sep 17 00:00:00 2001 From: Jonas Devlieghere Date: Sat, 5 Dec 2020 10:17:48 -0800 Subject: [PATCH] [debugserver] Remove bridgeos availability I didn't realize that the 'bridgeos' is not part of the public SDK. --- lldb/tools/debugserver/source/MacOSX/MachProcess.mm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lldb/tools/debugserver/source/MacOSX/MachProcess.mm b/lldb/tools/debugserver/source/MacOSX/MachProcess.mm index fad3978..232a0d2 100644 --- a/lldb/tools/debugserver/source/MacOSX/MachProcess.mm +++ b/lldb/tools/debugserver/source/MacOSX/MachProcess.mm @@ -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(); -- 2.7.4