Skip to content

Commit 8c23669

Browse files
committed
[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
1 parent 93d08ac commit 8c23669

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
if config.target_arch == 'x86_64' and config.enable_aliases == '1':
1717
clang_hwasan_common_cflags += ["-fsanitize-hwaddress-experimental-aliasing"]
18-
if config.enable_aliases != '1':
18+
else:
1919
config.available_features.add('pointer-tagging')
2020
if config.target_arch == 'x86_64':
2121
# This does basically the same thing as tagged-globals on aarch64. Because

0 commit comments

Comments
 (0)