[compiler-rt] 03399a9 - [test] Disable the test without pointer tagging

Vitaly Buka via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 25 15:52:20 PDT 2023


Author: Vitaly Buka
Date: 2023-07-25T15:52:07-07:00
New Revision: 03399a928ff09aa7030cbab39ddafb5f78880f42

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

LOG: [test] Disable the test without pointer tagging

In aliasing mode we tag only heap, not mmap, and can't pass.
Still it's not clear why the test didn't fail before.

Added: 
    

Modified: 
    compiler-rt/test/hwasan/TestCases/Linux/release-shadow.c

Removed: 
    


################################################################################
diff  --git a/compiler-rt/test/hwasan/TestCases/Linux/release-shadow.c b/compiler-rt/test/hwasan/TestCases/Linux/release-shadow.c
index bceb37d8f4f167..d893b9ec7471c6 100644
--- a/compiler-rt/test/hwasan/TestCases/Linux/release-shadow.c
+++ b/compiler-rt/test/hwasan/TestCases/Linux/release-shadow.c
@@ -1,6 +1,8 @@
 // Test that tagging a large region to 0 reduces RSS.
 // RUN: %clang_hwasan -mllvm -hwasan-globals=0 -mllvm -hwasan-instrument-stack=0 %s -o %t && %run %t 2>&1
 
+// REQUIRES: pointer-tagging
+
 #include <assert.h>
 #include <fcntl.h>
 #include <stdio.h>


        


More information about the llvm-commits mailing list