[CMake][compiler-rt] Make CRT separately buildable
authorPetr Hosek <phosek@google.com>
Mon, 28 Feb 2022 20:21:11 +0000 (12:21 -0800)
committerPetr Hosek <phosek@google.com>
Wed, 6 Apr 2022 07:48:49 +0000 (00:48 -0700)
commitb0e2ffe151c34cae87e41f8f6a58207506796fee
treed4f49f772881e3a41d6f14eb659a925c9c545374
parentec2de7490813a7593dad59f210c7ec41f1a29002
[CMake][compiler-rt] Make CRT separately buildable

This is useful when building a complete toolchain to ensure that CRT
is built after builtins but before the rest of the compiler-rt.

Differential Revision: https://reviews.llvm.org/D120682
compiler-rt/cmake/Modules/AllSupportedArchDefs.cmake
compiler-rt/cmake/Modules/CheckSectionExists.cmake [new file with mode: 0644]
compiler-rt/cmake/Modules/CompilerRTUtils.cmake
compiler-rt/cmake/config-ix.cmake
compiler-rt/cmake/crt-config-ix.cmake [new file with mode: 0644]
compiler-rt/lib/CMakeLists.txt
compiler-rt/lib/crt/CMakeLists.txt
compiler-rt/test/CMakeLists.txt
compiler-rt/test/crt/CMakeLists.txt