
When running tests in a cross-compiled build, %expect_crash is run on the host, not the target, so we need to check the host OS. config.host_os surprisingly refers to the target OS because it is derived from CMAKE_SYSTEM_NAME which specifies the target. See: https://cmake.org/cmake/help/latest/variable/CMAKE_SYSTEM_NAME.html Another speculative fix for: https://lab.llvm.org/buildbot/#/builders/193/builds/9070 (cherry picked from commit 968d38d1d7d9de2d5717457876bba2663b36f620)
Compiler-RT ================================ This directory and its subdirectories contain source code for the compiler support routines. Compiler-RT is open source software. You may freely distribute it under the terms of the license agreement found in LICENSE.txt. ================================