OSDN Git Service

Add support for the 'macCatalyst' MachO platform
authorAlex Lorenz <arphaman@gmail.com>
Tue, 2 Jul 2019 23:47:11 +0000 (23:47 +0000)
committerAlex Lorenz <arphaman@gmail.com>
Tue, 2 Jul 2019 23:47:11 +0000 (23:47 +0000)
commitc4dc899be65633a2cdc984d142b17631e2c91fe7
tree2b96962831f1af9bdb6711c3584f207e665932e8
parent7c80c9440cb47e7dce7e5753d29e034eb6dc8bfe
Add support for the 'macCatalyst' MachO platform

Mac Catalyst is a new MachO platform in macOS Catalina.
It always uses the build_version MachO load command.

Differential Revision: https://reviews.llvm.org/D64107

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@364981 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/BinaryFormat/MachO.h
include/llvm/Object/MachO.h
lib/MC/MCAsmStreamer.cpp
lib/MC/MCParser/DarwinAsmParser.cpp
lib/MC/MCStreamer.cpp
test/CodeGen/X86/macCatalyst.ll [new file with mode: 0644]
test/MC/MachO/build-version-maccatalyst.s [new file with mode: 0644]
test/MC/MachO/darwin-version-min-load-command.s
test/tools/llvm-objdump/X86/macho-maccatalyst-build-version.yaml [new file with mode: 0644]