[sanitizer] Define lsan-x86 in tests for both i386 and i686.

llvm-svn: 300601
This commit is contained in:
Evgeniy Stepanov 2017-04-18 21:10:50 +00:00
parent 1829311665
commit 63f6c02638

View File

@ -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':