[compiler-rt] c93ca4b - [test][hwasan] Allow test for any platform with tagging

Vitaly Buka via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 14 01:17:33 PDT 2023


Author: Vitaly Buka
Date: 2023-06-14T01:16:54-07:00
New Revision: c93ca4bcb8d6596a121061484d8464775c14c00e

URL: https://github.com/llvm/llvm-project/commit/c93ca4bcb8d6596a121061484d8464775c14c00e
DIFF: https://github.com/llvm/llvm-project/commit/c93ca4bcb8d6596a121061484d8464775c14c00e.diff

LOG: [test][hwasan] Allow test for any platform with tagging

Added: 
    

Modified: 
    compiler-rt/test/hwasan/TestCases/munmap.c

Removed: 
    


################################################################################
diff  --git a/compiler-rt/test/hwasan/TestCases/munmap.c b/compiler-rt/test/hwasan/TestCases/munmap.c
index f25e488e4698c..4b18e8f456bde 100644
--- a/compiler-rt/test/hwasan/TestCases/munmap.c
+++ b/compiler-rt/test/hwasan/TestCases/munmap.c
@@ -1,7 +1,7 @@
 // RUN: %clang_hwasan  %s -o %t
 // RUN: %run %t 2>&1
 
-// REQUIRES: aarch64-target-arch
+// REQUIRES: pointer-tagging
 
 #include <sanitizer/hwasan_interface.h>
 #include <stdio.h>
@@ -10,7 +10,7 @@
 
 int main(int argc, char **argv) {
   const int kSize = 4096;
-  const int kTag = 74;
+  const int kTag = 47;
 
   // Get any mmaped pointer.
   void *r =


        


More information about the llvm-commits mailing list