[PATCH] D73325: [TAPI] Support macCatalyst in TBD_V4

Jonas Devlieghere via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 23 21:53:27 PST 2020


JDevlieghere created this revision.
JDevlieghere added a reviewer: cishida.
Herald added subscribers: dexonsmith, hiraditya.
Herald added a project: LLVM.

TAPI has code to explicitly handle macCatalyst for TBD_V3, but the switch below ignores the platform. This adds a case to support macCatalyst for TBD_V4 and later.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D73325

Files:
  llvm/lib/TextAPI/MachO/TextStubCommon.cpp


Index: llvm/lib/TextAPI/MachO/TextStubCommon.cpp
===================================================================
--- llvm/lib/TextAPI/MachO/TextStubCommon.cpp
+++ llvm/lib/TextAPI/MachO/TextStubCommon.cpp
@@ -74,6 +74,9 @@
   case PlatformKind::bridgeOS:
     OS << "bridgeos";
     break;
+  case PlatformKind::macCatalyst:
+    OS << "iosmac";
+    break;
   }
 }
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D73325.240091.patch
Type: text/x-patch
Size: 372 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200124/4ab06fa4/attachment.bin>


More information about the llvm-commits mailing list