Reapply [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>
Thu, 21 Oct 2021 16:00:18 +0000 (09:00 -0700)
commitb8da594750762f811283820c19b02cedfb6632d4
tree534f43daef03ed1e8c29b5157ede357a260ed8fd
parentdccfaddc6bcc711bd972b43bff5ce6d71c1b39dc
Reapply [ORC-RT] Configure the ORC runtime for more architectures and platforms

Reapply 5692ed0cce8c95, but with the ORC runtime disabled explicitly on
CrossWinToARMLinux to match the other compiler-rt runtime libraries.

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

---

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
clang/cmake/caches/CrossWinToARMLinux.cmake
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