From 63f6c0263816994c2c822bcef9ff482882184a96 Mon Sep 17 00:00:00 2001 From: Evgeniy Stepanov Date: Tue, 18 Apr 2017 21:10:50 +0000 Subject: [PATCH] [sanitizer] Define lsan-x86 in tests for both i386 and i686. llvm-svn: 300601 --- compiler-rt/test/sanitizer_common/lit.common.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler-rt/test/sanitizer_common/lit.common.cfg b/compiler-rt/test/sanitizer_common/lit.common.cfg index 2926edb..da720a8 100644 --- a/compiler-rt/test/sanitizer_common/lit.common.cfg +++ b/compiler-rt/test/sanitizer_common/lit.common.cfg @@ -26,7 +26,7 @@ config.available_features.add(config.tool_name) if config.target_arch not in ['arm', 'armhf', 'aarch64']: config.available_features.add('stable-runtime') -if config.host_os == 'Linux' and config.target_arch == 'i386' and config.tool_name == "lsan": +if config.host_os == 'Linux' and config.tool_name == "lsan" and (config.target_arch == 'i386' or config.target_arch == 'i686'): config.available_features.add("lsan-x86") if config.host_os == 'Darwin': -- 2.7.4