Skip to content

[lldb] Fix deprecated defines in debugserver (XROS -> VISIONOS) (NFC) #9530

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 7, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions lldb/tools/debugserver/source/MacOSX/MachProcess.mm
Original file line number Diff line number Diff line change
Expand Up @@ -72,12 +72,12 @@
#define PLATFORM_DRIVERKIT 10
#endif

#ifndef PLATFORM_XROS
#define PLATFORM_XROS 11
#ifndef PLATFORM_VISIONOS
#define PLATFORM_VISIONOS 11
#endif

#ifndef PLATFORM_XR_SIMULATOR
#define PLATFORM_XR_SIMULATOR 12
#ifndef PLATFORM_VISIONOSSIMULATOR
#define PLATFORM_VISIONOSSIMULATOR 12
#endif

#ifdef WITH_SPRINGBOARD
Expand Down Expand Up @@ -756,9 +756,9 @@ static bool FBSAddEventDataToOptions(NSMutableDictionary *options,
return "bridgeos";
case PLATFORM_DRIVERKIT:
return "driverkit";
case PLATFORM_XROS:
case PLATFORM_VISIONOS:
return "xros";
case PLATFORM_XR_SIMULATOR:
case PLATFORM_VISIONOSSIMULATOR:
return "xrossimulator";
default:
DNBLogError("Unknown platform %u found for one binary", platform);
Expand Down