Skip to content

Commit e052c4c

Browse files
authored
[NFC] [MTE] Use aarch64-linux-android34 for globals test (#112050)
It doesn't make a difference currently, but MTE globals are only supported on Android, so that's the more natural target to use.
1 parent 9bf68c2 commit e052c4c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

clang/test/CodeGen/memtag-globals.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1-
// RUN: %clang_cc1 -include %S/Inputs/sanitizer-extra-source.cpp \
1+
// RUN: %clang_cc1 -triple aarch64-linux-android34 \
2+
// RUN: -include %S/Inputs/sanitizer-extra-source.cpp \
23
// RUN: -fsanitize-ignorelist=%S/Inputs/sanitizer-ignorelist-global.txt \
34
// RUN: -fsanitize=memtag-globals -emit-llvm -o - %s | FileCheck %s
45

5-
// RUN: %clang_cc1 -include %S/Inputs/sanitizer-extra-source.cpp \
6+
// RUN: %clang_cc1 -triple aarch64-linux-android34 \
7+
// RUN: -include %S/Inputs/sanitizer-extra-source.cpp \
68
// RUN: -fsanitize-ignorelist=%S/Inputs/sanitizer-ignorelist-src.txt \
79
// RUN: -fsanitize=memtag-globals -emit-llvm -o - %s | \
810
// RUN: FileCheck %s --check-prefix=IGNORELIST

0 commit comments

Comments
 (0)