[clang] e052c4c - [NFC] [MTE] Use aarch64-linux-android34 for globals test (#112050)
via cfe-commits
cfe-commits at lists.llvm.org
Mon Oct 14 12:31:52 PDT 2024
Author: Florian Mayer
Date: 2024-10-14T12:31:49-07:00
New Revision: e052c4c2b9a051fb9fd6a4bc25dc48ed9e1c6a69
URL: https://github.com/llvm/llvm-project/commit/e052c4c2b9a051fb9fd6a4bc25dc48ed9e1c6a69
DIFF: https://github.com/llvm/llvm-project/commit/e052c4c2b9a051fb9fd6a4bc25dc48ed9e1c6a69.diff
LOG: [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.
Added:
Modified:
clang/test/CodeGen/memtag-globals.cpp
Removed:
################################################################################
diff --git a/clang/test/CodeGen/memtag-globals.cpp b/clang/test/CodeGen/memtag-globals.cpp
index b4f5dc0d7dcf04..ae2d32ae8a56d9 100644
--- a/clang/test/CodeGen/memtag-globals.cpp
+++ b/clang/test/CodeGen/memtag-globals.cpp
@@ -1,8 +1,10 @@
-// RUN: %clang_cc1 -include %S/Inputs/sanitizer-extra-source.cpp \
+// RUN: %clang_cc1 -triple aarch64-linux-android34 \
+// RUN: -include %S/Inputs/sanitizer-extra-source.cpp \
// RUN: -fsanitize-ignorelist=%S/Inputs/sanitizer-ignorelist-global.txt \
// RUN: -fsanitize=memtag-globals -emit-llvm -o - %s | FileCheck %s
-// RUN: %clang_cc1 -include %S/Inputs/sanitizer-extra-source.cpp \
+// RUN: %clang_cc1 -triple aarch64-linux-android34 \
+// RUN: -include %S/Inputs/sanitizer-extra-source.cpp \
// RUN: -fsanitize-ignorelist=%S/Inputs/sanitizer-ignorelist-src.txt \
// RUN: -fsanitize=memtag-globals -emit-llvm -o - %s | \
// RUN: FileCheck %s --check-prefix=IGNORELIST
More information about the cfe-commits
mailing list