[compiler-rt] 67905bc - [sanitizer] Re-enable test on Windows

Vitaly Buka via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 12 14:10:50 PDT 2021


Author: Vitaly Buka
Date: 2021-10-12T14:10:46-07:00
New Revision: 67905bcaf386409b02dbf91d9a5750940071b00e

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

LOG: [sanitizer] Re-enable test on Windows

It's likely missdiagnosed issue fixed with 336e88636a99c18a4747cb06ad1bc9b590901482

Added: 
    

Modified: 
    compiler-rt/lib/sanitizer_common/tests/sanitizer_stackdepot_test.cpp

Removed: 
    


################################################################################
diff  --git a/compiler-rt/lib/sanitizer_common/tests/sanitizer_stackdepot_test.cpp b/compiler-rt/lib/sanitizer_common/tests/sanitizer_stackdepot_test.cpp
index 19d64fbf49db..9f6b1342ea80 100644
--- a/compiler-rt/lib/sanitizer_common/tests/sanitizer_stackdepot_test.cpp
+++ b/compiler-rt/lib/sanitizer_common/tests/sanitizer_stackdepot_test.cpp
@@ -65,13 +65,7 @@ TEST(SanitizerCommon, StackDepotSeveral) {
   EXPECT_NE(i1, i2);
 }
 
-#if SANITIZER_WINDOWS
-// CaptureStderr does not work on Windows.
-#define Maybe_StackDepotPrint DISABLED_StackDepotPrint
-#else
-#define Maybe_StackDepotPrint StackDepotPrint
-#endif
-TEST(SanitizerCommon, Maybe_StackDepotPrint) {
+TEST(SanitizerCommon, StackDepotPrint) {
   uptr array1[] = {0x111, 0x222, 0x333, 0x444, 0x777};
   StackTrace s1(array1, ARRAY_SIZE(array1));
   u32 i1 = StackDepotPut(s1);


        


More information about the llvm-commits mailing list