diff options
author | Peter Collingbourne <peter@pcc.me.uk> | 2025-07-15 19:37:54 -0700 |
---|---|---|
committer | Peter Collingbourne <peter@pcc.me.uk> | 2025-07-15 19:46:12 -0700 |
commit | 968d38d1d7d9de2d5717457876bba2663b36f620 (patch) | |
tree | c5da6a6d7ab9827dad8fa66465e1cdbb2cb367a0 /llvm/lib/Object/ELFObjectFile.cpp | |
parent | 28e1473e8e523150914e8c7ea50b44fb0d2a8d65 (diff) | |
download | llvm-968d38d1d7d9de2d5717457876bba2663b36f620.zip llvm-968d38d1d7d9de2d5717457876bba2663b36f620.tar.gz llvm-968d38d1d7d9de2d5717457876bba2663b36f620.tar.bz2 |
compiler-rt: test: Use the host instead of the target to select %expect_crash.
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
Diffstat (limited to 'llvm/lib/Object/ELFObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions