[compiler-rt] 8c23669 - [hwasan] Ignore lit config.enable_aliases on non-x86.

Evgenii Stepanov via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 16 13:39:12 PDT 2021


Author: Evgenii Stepanov
Date: 2021-08-16T13:29:37-07:00
New Revision: 8c23669eeb189a94aa6caacf8e1206175586aaad

URL: https://github.com/llvm/llvm-project/commit/8c23669eeb189a94aa6caacf8e1206175586aaad
DIFF: https://github.com/llvm/llvm-project/commit/8c23669eeb189a94aa6caacf8e1206175586aaad.diff

LOG: [hwasan] Ignore lit config.enable_aliases on non-x86.

This re-enables a number of Android tests that have been lost in
check-hwasan.

Differential Revision: https://reviews.llvm.org/D108064

Added: 
    

Modified: 
    compiler-rt/test/hwasan/lit.cfg.py

Removed: 
    


################################################################################
diff  --git a/compiler-rt/test/hwasan/lit.cfg.py b/compiler-rt/test/hwasan/lit.cfg.py
index c94d5e0dac83d..dcae2b2932815 100644
--- 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


        


More information about the llvm-commits mailing list