This patch enables sanitizer common unit tests for arm64 architecture only on apple devices.
It also lowers the expected compression ratio for 64 bit machines. Unsure of justification of 130. On apple arm64 we're seeing this number comeout to 128.6
rdar://
101436019
Differential Revision: https://reviews.llvm.org/D141170
# FIXME: use SANITIZER_COMMON_SUPPORTED_ARCH here
filter_available_targets(SANITIZER_UNITTEST_SUPPORTED_ARCH x86_64 i386 mips64 mips64el riscv64 sparcv9 sparc)
if(APPLE)
+ list(APPEND SANITIZER_UNITTEST_SUPPORTED_ARCH arm64)
darwin_filter_host_archs(SANITIZER_UNITTEST_SUPPORTED_ARCH SANITIZER_UNITTEST_SUPPORTED_ARCH)
endif()
StackStorePackTest::ParamType(StackStore::Compression::Delta,
FIRST_32_SECOND_64(2, 6)),
StackStorePackTest::ParamType(StackStore::Compression::LZW,
- FIRST_32_SECOND_64(60, 130)),
+ FIRST_32_SECOND_64(60, 125)),
}));
TEST_P(StackStorePackTest, PackUnpack) {