[ORC-RT] Configure the ORC runtime for more architectures and platforms
authorBen Langmuir <blangmuir@apple.com>
Wed, 20 Oct 2021 17:37:32 +0000 (10:37 -0700)
committerBen Langmuir <blangmuir@apple.com>
Wed, 20 Oct 2021 18:21:18 +0000 (11:21 -0700)
commit5692ed0cce8c9506eef40ffe6ca2d9629956c51c
tree71de3955e772ec754f4b41802d648847bbe901c8
parentfb8829768d774689c368c49cb3ca17339378cd91
[ORC-RT] Configure the ORC runtime for more architectures and platforms

Enable building the ORC runtime for 64-bit and 32-bit ARM architectures,
and for all Darwin embedded platforms (iOS, tvOS, and watchOS). This
covers building the cross-platform code, but does not add TLV runtime
support for the new architectures, which can be added independently.

Incidentally, stop building the Mach-O TLS support file unnecessarily on
other platforms.

Differential Revision: https://reviews.llvm.org/D112111
compiler-rt/cmake/Modules/AllSupportedArchDefs.cmake
compiler-rt/cmake/config-ix.cmake
compiler-rt/lib/orc/CMakeLists.txt
compiler-rt/lib/orc/elfnix_tls.x86-64.S
compiler-rt/lib/orc/macho_tlv.x86-64.S
compiler-rt/lib/orc/simple_packed_serialization.h