[llvm] e6cdb00 - [llvm][TextAPI] add driverkit as supported platform for older tbd
Cyndy Ishida via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 19 15:09:16 PDT 2022
Author: Cyndy Ishida
Date: 2022-09-19T15:08:29-07:00
New Revision: e6cdb0031529ab933f63ffd773b3cf43b7ee4feb
URL: https://github.com/llvm/llvm-project/commit/e6cdb0031529ab933f63ffd773b3cf43b7ee4feb
DIFF: https://github.com/llvm/llvm-project/commit/e6cdb0031529ab933f63ffd773b3cf43b7ee4feb.diff
LOG: [llvm][TextAPI] add driverkit as supported platform for older tbd
versions
It looks like being able to write it was added, but missed the ability
to read it.
Added:
Modified:
llvm/lib/TextAPI/TextStubCommon.cpp
Removed:
################################################################################
diff --git a/llvm/lib/TextAPI/TextStubCommon.cpp b/llvm/lib/TextAPI/TextStubCommon.cpp
index 0a03f42a25188..01a90078e1506 100644
--- a/llvm/lib/TextAPI/TextStubCommon.cpp
+++ b/llvm/lib/TextAPI/TextStubCommon.cpp
@@ -112,6 +112,7 @@ StringRef ScalarTraits<PlatformSet>::input(StringRef Scalar, void *IO,
.Case("tvos", PLATFORM_TVOS)
.Case("bridgeos", PLATFORM_BRIDGEOS)
.Case("iosmac", PLATFORM_MACCATALYST)
+ .Case("driverkit", PLATFORM_DRIVERKIT)
.Default(PLATFORM_UNKNOWN);
if (Platform == PLATFORM_MACCATALYST)
More information about the llvm-commits
mailing list