diff --git a/compiler-rt/test/hwasan/lit.cfg.py b/compiler-rt/test/hwasan/lit.cfg.py --- a/compiler-rt/test/hwasan/lit.cfg.py +++ b/compiler-rt/test/hwasan/lit.cfg.py @@ -15,7 +15,7 @@ if config.target_arch == 'x86_64' and config.enable_aliases == '1': clang_hwasan_common_cflags += ["-fsanitize-hwaddress-experimental-aliasing"] -if config.enable_aliases != '1': +else: config.available_features.add('pointer-tagging') if config.target_arch == 'x86_64': # This does basically the same thing as tagged-globals on aarch64. Because