diff options
author | Cyndy Ishida <cyndy_ishida@apple.com> | 2020-02-11 10:31:54 -0800 |
---|---|---|
committer | Cyndy Ishida <cyndy_ishida@apple.com> | 2020-02-11 10:37:37 -0800 |
commit | 8c3d0d6a5f5a2a521c4cbae7acbad82a49e2a92f (patch) | |
tree | ff07043a5e162e0c9b250125879a4f3072b926a2 /llvm/lib/TextAPI/MachO/TextStubCommon.cpp | |
parent | 027eb71696f6ce4fdeb63f68c8c6b66e147ad407 (diff) | |
download | llvm-8c3d0d6a5f5a2a521c4cbae7acbad82a49e2a92f.zip llvm-8c3d0d6a5f5a2a521c4cbae7acbad82a49e2a92f.tar.gz llvm-8c3d0d6a5f5a2a521c4cbae7acbad82a49e2a92f.tar.bz2 |
[llvm][TextAPI] add simulators to output
Summary:
* for <= tbd_v3, simulator platforms appear the same as the real
platform and we distinct the difference from the architecture.
fixes: rdar://problem/59161559
Reviewers: ributzka, steven_wu
Reviewed By: ributzka
Subscribers: hiraditya, dexonsmith, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D74416
Diffstat (limited to 'llvm/lib/TextAPI/MachO/TextStubCommon.cpp')
-rw-r--r-- | llvm/lib/TextAPI/MachO/TextStubCommon.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/lib/TextAPI/MachO/TextStubCommon.cpp b/llvm/lib/TextAPI/MachO/TextStubCommon.cpp index e4e58cd..21be654 100644 --- a/llvm/lib/TextAPI/MachO/TextStubCommon.cpp +++ b/llvm/lib/TextAPI/MachO/TextStubCommon.cpp @@ -62,12 +62,18 @@ void ScalarTraits<PlatformSet>::output(const PlatformSet &Values, void *IO, case PlatformKind::macOS: OS << "macosx"; break; + case PlatformKind::iOSSimulator: + LLVM_FALLTHROUGH; case PlatformKind::iOS: OS << "ios"; break; + case PlatformKind::watchOSSimulator: + LLVM_FALLTHROUGH; case PlatformKind::watchOS: OS << "watchos"; break; + case PlatformKind::tvOSSimulator: + LLVM_FALLTHROUGH; case PlatformKind::tvOS: OS << "tvos"; break; |