diff options
author | Jonas Devlieghere <jonas@devlieghere.com> | 2020-01-27 10:17:46 -0800 |
---|---|---|
committer | Jonas Devlieghere <jonas@devlieghere.com> | 2020-01-27 10:21:06 -0800 |
commit | 3ed88b052b198285d4464166b728ec2e236f814e (patch) | |
tree | 891f9fb2e8db848ea511f06f8a5735d7eb04eb76 /llvm/lib/TextAPI/MachO/TextStubCommon.cpp | |
parent | ce7ca2caf2c2c71f6c003668c99729ee2f9c29e3 (diff) | |
download | llvm-3ed88b052b198285d4464166b728ec2e236f814e.zip llvm-3ed88b052b198285d4464166b728ec2e236f814e.tar.gz llvm-3ed88b052b198285d4464166b728ec2e236f814e.tar.bz2 |
[llvm][TextAPI/MachO] Support writing single macCatalyst platform
TAPI currently lacks a way to emit the macCatalyst platform. For TBD_V3
is does support zippered frameworks given that both macOS and
macCatalyst are part of the PlatformSet.
Differential revision: https://reviews.llvm.org/D73325
Diffstat (limited to 'llvm/lib/TextAPI/MachO/TextStubCommon.cpp')
-rw-r--r-- | llvm/lib/TextAPI/MachO/TextStubCommon.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/TextAPI/MachO/TextStubCommon.cpp b/llvm/lib/TextAPI/MachO/TextStubCommon.cpp index 183c5d5..a7fd58f 100644 --- a/llvm/lib/TextAPI/MachO/TextStubCommon.cpp +++ b/llvm/lib/TextAPI/MachO/TextStubCommon.cpp @@ -74,6 +74,9 @@ void ScalarTraits<PlatformSet>::output(const PlatformSet &Values, void *IO, case PlatformKind::bridgeOS: OS << "bridgeos"; break; + case PlatformKind::macCatalyst: + OS << "iosmac"; + break; } } |