From: Vitaly Buka Date: Tue, 12 Oct 2021 21:09:49 +0000 (-0700) Subject: [sanitizer] Re-enable test on Windows X-Git-Tag: upstream/15.0.7~28794 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=67905bcaf386409b02dbf91d9a5750940071b00e;p=platform%2Fupstream%2Fllvm.git [sanitizer] Re-enable test on Windows It's likely missdiagnosed issue fixed with 336e88636a99c18a4747cb06ad1bc9b590901482 --- 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 19d64fb..9f6b134 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);