[compiler-rt] f570bd8 - [HWASAN] Disable unexpected_format_specifier_test because HWASAN doesn't provide a printf interceptor
    Kirill Stoimenov via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Thu Mar 23 08:16:07 PDT 2023
    
    
  
Author: Kirill Stoimenov
Date: 2023-03-23T15:15:56Z
New Revision: f570bd8f6322fab18df5099786683a813f9e7a08
URL: https://github.com/llvm/llvm-project/commit/f570bd8f6322fab18df5099786683a813f9e7a08
DIFF: https://github.com/llvm/llvm-project/commit/f570bd8f6322fab18df5099786683a813f9e7a08.diff
LOG: [HWASAN] Disable unexpected_format_specifier_test because HWASAN doesn't provide a printf interceptor
Reviewed By: vitalybuka
Differential Revision: https://reviews.llvm.org/D146647
Added: 
    
Modified: 
    compiler-rt/test/sanitizer_common/TestCases/Linux/mprobe.cpp
    compiler-rt/test/sanitizer_common/TestCases/Linux/unexpected_format_specifier_test.cpp
Removed: 
    
################################################################################
diff  --git a/compiler-rt/test/sanitizer_common/TestCases/Linux/mprobe.cpp b/compiler-rt/test/sanitizer_common/TestCases/Linux/mprobe.cpp
index 82c0faf0e2add..7633eb4762292 100644
--- a/compiler-rt/test/sanitizer_common/TestCases/Linux/mprobe.cpp
+++ b/compiler-rt/test/sanitizer_common/TestCases/Linux/mprobe.cpp
@@ -1,5 +1,5 @@
 // RUN: %clangxx %s -o %t && %run %t 2>&1 | FileCheck %s
-// UNSUPPORTED: android, ubsan
+// UNSUPPORTED: android, hwasan, ubsan
 
 #include <stdio.h>
 #include <stdlib.h>
diff  --git a/compiler-rt/test/sanitizer_common/TestCases/Linux/unexpected_format_specifier_test.cpp b/compiler-rt/test/sanitizer_common/TestCases/Linux/unexpected_format_specifier_test.cpp
index 641495508ba10..fdce916ad1e1a 100644
--- a/compiler-rt/test/sanitizer_common/TestCases/Linux/unexpected_format_specifier_test.cpp
+++ b/compiler-rt/test/sanitizer_common/TestCases/Linux/unexpected_format_specifier_test.cpp
@@ -1,4 +1,5 @@
 // RUN: %clang -w -O0 %s -o %t && %run %t 2>&1 | FileCheck %s
+// UNSUPPORTED: hwasan
 // UNSUPPORTED: lsan
 // UNSUPPORTED: msan
 // UNSUPPORTED: ubsan
        
    
    
More information about the llvm-commits
mailing list