Author: Jonas Devlieghere Date: 2024-11-06T15:16:20-08:00 New Revision: bd3a3959dc5b72ccbc83334132dece3f38957666
URL: https://github.com/llvm/llvm-project/commit/bd3a3959dc5b72ccbc83334132dece3f38957666 DIFF: https://github.com/llvm/llvm-project/commit/bd3a3959dc5b72ccbc83334132dece3f38957666.diff LOG: [lldb] Fix deprecated defines in debugserver (XROS -> VISIONOS) (NFC) 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 cbe3c5459e91fc..530c5b24b424ee 100644 --- a/lldb/tools/debugserver/source/MacOSX/MachProcess.mm +++ b/lldb/tools/debugserver/source/MacOSX/MachProcess.mm @@ -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 @@ -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); _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits