[compiler-rt] f0b9727 - [test][hwasan] Describe why HWASAN does not work

Vitaly Buka via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 22 17:07:21 PDT 2023


Author: Vitaly Buka
Date: 2023-06-22T17:07:02-07:00
New Revision: f0b97270af201aa171e5cdef4175b17300822783

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

LOG: [test][hwasan] Describe why HWASAN does not work

Added: 
    

Modified: 
    compiler-rt/test/sanitizer_common/TestCases/Posix/huge_malloc.c

Removed: 
    


################################################################################
diff  --git a/compiler-rt/test/sanitizer_common/TestCases/Posix/huge_malloc.c b/compiler-rt/test/sanitizer_common/TestCases/Posix/huge_malloc.c
index a9c04f353ab6a..9eae7a99fe1d8 100644
--- a/compiler-rt/test/sanitizer_common/TestCases/Posix/huge_malloc.c
+++ b/compiler-rt/test/sanitizer_common/TestCases/Posix/huge_malloc.c
@@ -10,7 +10,10 @@
 // UNSUPPORTED: android-26
 
 // FIXME: Make it work. Don't xfail to avoid excessive memory usage.
-// UNSUPPORTED: msan, hwasan
+// UNSUPPORTED: msan
+
+// Hwasan requires tagging of new allocations, so needs RSS for shadow.
+// UNSUPPORTED: hwasan
 
 void *p;
 


        


More information about the llvm-commits mailing list