[libcxx-commits] [libcxx] e693304 - [test][libcxx] Use own feature for HWAsan

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


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

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

LOG: [test][libcxx] Use own feature 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 a02cc1810283..c46b55d0c6b3 100644
--- a/libcxx/utils/libcxx/test/params.py
+++ b/libcxx/utils/libcxx/test/params.py
@@ -147,8 +147,7 @@ def getStdFlag(cfg, std):
               AddFeature('asan')            if sanitizer == 'Address' else None,
 
               AddFlag('-fsanitize=hwaddress') if sanitizer == 'HWAddress' else None,
-              # FIXME: Use hwasan feature.
-              AddFeature('asan')            if sanitizer == 'HWAddress' else None,
+              AddFeature('hwasan')            if sanitizer == 'HWAddress' else None,
 
               AddFlag('-fsanitize=memory')               if sanitizer in ['Memory', 'MemoryWithOrigins'] else None,
               AddFeature('msan')                         if sanitizer in ['Memory', 'MemoryWithOrigins'] else None,


        


More information about the libcxx-commits mailing list