[Sanitizers][Darwin][ASanABI] Fix architecture config for ASan Abi
authorBlue Gaston <bgaston2@apple.com>
Wed, 31 May 2023 22:23:06 +0000 (15:23 -0700)
committerBlue Gaston <bgaston2@apple.com>
Thu, 1 Jun 2023 21:11:47 +0000 (14:11 -0700)
commit6df9b06aa81f7b6eea34652ddff819afc07a874f
treeafad6136991f65cbe3b390720f1062d319a3f83c
parentf166b397b21e407e8f17dbd0a59918a5c6be874b
[Sanitizers][Darwin][ASanABI] Fix architecture config for ASan Abi

Moved setting supported architecture to parent cmake configuration files
so they can be read by both lib and test CMakeList.txt.

Fixed issue with check-asan-abi that did not filter for current host architecture
which caused x86_64 bots to run Arm64 tests.

Added x86_64 as a supported arch to the test cmake file.

rdar://110017569

Differential Revision: https://reviews.llvm.org/D151846
compiler-rt/cmake/Modules/AllSupportedArchDefs.cmake
compiler-rt/cmake/config-ix.cmake
compiler-rt/lib/asan_abi/CMakeLists.txt
compiler-rt/test/asan_abi/CMakeLists.txt