[PATCH] D154231: [MachO] Add new constants for visionOS platforms
Keith Smiley via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 30 09:39:32 PDT 2023
keith created this revision.
Herald added a project: All.
keith requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D154231
Files:
llvm/include/llvm/BinaryFormat/MachO.h
llvm/include/llvm/Object/MachO.h
Index: llvm/include/llvm/Object/MachO.h
===================================================================
--- llvm/include/llvm/Object/MachO.h
+++ llvm/include/llvm/Object/MachO.h
@@ -794,6 +794,10 @@
case MachO::PLATFORM_TVOSSIMULATOR: return "tvossimulator";
case MachO::PLATFORM_WATCHOSSIMULATOR: return "watchossimulator";
case MachO::PLATFORM_DRIVERKIT: return "driverkit";
+ case MachO::PLATFORM_VISIONOS:
+ return "visionos";
+ case MachO::PLATFORM_VISIONOSSIMULATOR:
+ return "visionossimulator";
default:
std::string ret;
raw_string_ostream ss(ret);
Index: llvm/include/llvm/BinaryFormat/MachO.h
===================================================================
--- llvm/include/llvm/BinaryFormat/MachO.h
+++ llvm/include/llvm/BinaryFormat/MachO.h
@@ -508,6 +508,8 @@
PLATFORM_TVOSSIMULATOR = 8,
PLATFORM_WATCHOSSIMULATOR = 9,
PLATFORM_DRIVERKIT = 10,
+ PLATFORM_VISIONOS = 11,
+ PLATFORM_VISIONOSSIMULATOR = 12,
};
// Values for tools enum in build_tool_version.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D154231.536295.patch
Type: text/x-patch
Size: 1042 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230630/984cd1d4/attachment.bin>
More information about the llvm-commits
mailing list