[clang] 2afb939 - [hwasan] Flag stack safety check as requiring aarch64
Christopher Tetreault via cfe-commits
cfe-commits at lists.llvm.org
Wed Aug 18 11:14:26 PDT 2021
Author: Christopher Tetreault
Date: 2021-08-18T11:14:01-07:00
New Revision: 2afb9394a745733739f217d53cd9cf4ae03a3157
URL: https://github.com/llvm/llvm-project/commit/2afb9394a745733739f217d53cd9cf4ae03a3157
DIFF: https://github.com/llvm/llvm-project/commit/2afb9394a745733739f217d53cd9cf4ae03a3157.diff
LOG: [hwasan] Flag stack safety check as requiring aarch64
Reviewed By: fmayer
Differential Revision: https://reviews.llvm.org/D108241
Added:
Modified:
clang/test/CodeGen/hwasan-stack-safety-analysis.c
Removed:
################################################################################
diff --git a/clang/test/CodeGen/hwasan-stack-safety-analysis.c b/clang/test/CodeGen/hwasan-stack-safety-analysis.c
index ba50274de282..59fc53f8b1d1 100644
--- a/clang/test/CodeGen/hwasan-stack-safety-analysis.c
+++ b/clang/test/CodeGen/hwasan-stack-safety-analysis.c
@@ -1,3 +1,5 @@
+// REQUIRES: aarch64-registered-target
+
// RUN: %clang -fno-legacy-pass-manager -fsanitize=hwaddress -target aarch64-linux-gnu -S -emit-llvm -mllvm -hwasan-use-stack-safety=true -mllvm -hwasan-generate-tags-with-calls -O2 %s -o - | FileCheck %s --check-prefix=SAFETY
// RUN: %clang -fno-legacy-pass-manager -fsanitize=hwaddress -target aarch64-linux-gnu -S -emit-llvm -mllvm -hwasan-use-stack-safety=false -mllvm -hwasan-generate-tags-with-calls -O2 %s -o - | FileCheck %s --check-prefix=NOSAFETY
More information about the cfe-commits
mailing list