[libcxx-commits] [libcxx] 06d16eb - [test][libcxx] Disable new.delete.array tests for HWAsan

Vitaly Buka via libcxx-commits libcxx-commits at lists.llvm.org
Tue Aug 16 00:06:19 PDT 2022


Author: Vitaly Buka
Date: 2022-08-16T00:05:48-07:00
New Revision: 06d16eb9e6e5f1afeef0338788d4e3fc02850b77

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

LOG: [test][libcxx] Disable new.delete.array tests for HWAsan

Added: 
    

Modified: 
    libcxx/utils/libcxx/test/params.py

Removed: 
    


################################################################################
diff  --git a/libcxx/utils/libcxx/test/params.py b/libcxx/utils/libcxx/test/params.py
index 30ebf0e779c0d..a02cc18102831 100644
--- a/libcxx/utils/libcxx/test/params.py
+++ b/libcxx/utils/libcxx/test/params.py
@@ -160,7 +160,7 @@ def getStdFlag(cfg, std):
               AddFlag('-fsanitize=dataflow') if sanitizer == 'DataFlow' else None,
               AddFlag('-fsanitize=leaks') if sanitizer == 'Leaks' else None,
 
-              AddFeature('sanitizer-new-delete') if sanitizer in ['Address', 'Memory', 'MemoryWithOrigins', 'Thread'] else None,
+              AddFeature('sanitizer-new-delete') if sanitizer in ['Address', 'HWAddress', 'Memory', 'MemoryWithOrigins', 'Thread'] else None,
             ])),
 
   Parameter(name='enable_experimental', choices=[True, False], type=bool, default=True,


        


More information about the libcxx-commits mailing list