[llvm-branch-commits] [lldb] c722096 - [debugserver] Remove bridgeos availability
Jonas Devlieghere via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Sat Dec 5 10:23:26 PST 2020
Author: Jonas Devlieghere
Date: 2020-12-05T10:18:45-08:00
New Revision: c722096b399695e89f283f0847474ccb038515f2
URL: https://github.com/llvm/llvm-project/commit/c722096b399695e89f283f0847474ccb038515f2
DIFF: https://github.com/llvm/llvm-project/commit/c722096b399695e89f283f0847474ccb038515f2.diff
LOG: [debugserver] Remove bridgeos availability
I didn't realize that the 'bridgeos' is not part of the public SDK.
Added:
Modified:
lldb/tools/debugserver/source/MacOSX/MachProcess.mm
Removed:
################################################################################
diff --git a/lldb/tools/debugserver/source/MacOSX/MachProcess.mm b/lldb/tools/debugserver/source/MacOSX/MachProcess.mm
index fad39784b151..232a0d25a38a 100644
--- a/lldb/tools/debugserver/source/MacOSX/MachProcess.mm
+++ b/lldb/tools/debugserver/source/MacOSX/MachProcess.mm
@@ -3273,8 +3273,7 @@ static bool FBSAddEventDataToOptions(NSMutableDictionary *options,
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();
More information about the llvm-branch-commits
mailing list