[PATCH] D131806: Update hwasan test to fix failure on older Android API versions.

Usman Nadeem via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Aug 12 16:19:17 PDT 2022


mnadeem updated this revision to Diff 452326.
mnadeem edited the summary of this revision.
mnadeem added a comment.
Herald added a subscriber: kristof.beyls.

Update to use the same triple as MEMTAG


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D131806/new/

https://reviews.llvm.org/D131806

Files:
  clang/test/CodeGen/sanitizer-special-case-list-globals.c


Index: clang/test/CodeGen/sanitizer-special-case-list-globals.c
===================================================================
--- clang/test/CodeGen/sanitizer-special-case-list-globals.c
+++ clang/test/CodeGen/sanitizer-special-case-list-globals.c
@@ -13,7 +13,7 @@
 /// first), which is hard to check for, as 'CHECK-DAG' doesn't play terribly
 /// nicely with 'CHECK-NOT'. This is why the 'always_ignored' and
 /// 'hwasan_ignored' comes first in this file.
-// RUN: %clang_cc1 -fsanitize=hwaddress -emit-llvm %s -o -\
+// RUN: %clang_cc1 -fsanitize=hwaddress -triple=aarch64-linux-android31 -emit-llvm %s -o -\
 // RUN: -fsanitize-ignorelist=%S/Inputs/sanitizer-special-case-list-globals.txt \
 // RUN: | FileCheck %s --check-prefix=HWASAN
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D131806.452326.patch
Type: text/x-patch
Size: 750 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220812/1470cd7d/attachment.bin>


More information about the cfe-commits mailing list