Skip to content

Commit bd3a395

Browse files
committed
[lldb] Fix deprecated defines in debugserver (XROS -> VISIONOS) (NFC)
1 parent d08772b commit bd3a395

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -72,12 +72,12 @@
7272
#define PLATFORM_DRIVERKIT 10
7373
#endif
7474

75-
#ifndef PLATFORM_XROS
76-
#define PLATFORM_XROS 11
75+
#ifndef PLATFORM_VISIONOS
76+
#define PLATFORM_VISIONOS 11
7777
#endif
7878

79-
#ifndef PLATFORM_XR_SIMULATOR
80-
#define PLATFORM_XR_SIMULATOR 12
79+
#ifndef PLATFORM_VISIONOSSIMULATOR
80+
#define PLATFORM_VISIONOSSIMULATOR 12
8181
#endif
8282

8383
#ifdef WITH_SPRINGBOARD
@@ -756,9 +756,9 @@ static bool FBSAddEventDataToOptions(NSMutableDictionary *options,
756756
return "bridgeos";
757757
case PLATFORM_DRIVERKIT:
758758
return "driverkit";
759-
case PLATFORM_XROS:
759+
case PLATFORM_VISIONOS:
760760
return "xros";
761-
case PLATFORM_XR_SIMULATOR:
761+
case PLATFORM_VISIONOSSIMULATOR:
762762
return "xrossimulator";
763763
default:
764764
DNBLogError("Unknown platform %u found for one binary", platform);

0 commit comments

Comments
 (0)