summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/interception/tests/interception_win_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'compiler-rt/lib/interception/tests/interception_win_test.cc')
-rw-r--r--compiler-rt/lib/interception/tests/interception_win_test.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/compiler-rt/lib/interception/tests/interception_win_test.cc b/compiler-rt/lib/interception/tests/interception_win_test.cc
index 67b40f70146..7d18ce99adc 100644
--- a/compiler-rt/lib/interception/tests/interception_win_test.cc
+++ b/compiler-rt/lib/interception/tests/interception_win_test.cc
@@ -481,7 +481,11 @@ TEST(Interception, PatchableFunction) {
EXPECT_TRUE(TestFunctionPatching(kPatchableCode3, override));
#endif
EXPECT_TRUE(TestFunctionPatching(kPatchableCode4, override));
+#if SANITIZER_WINDOWS64
+ EXPECT_FALSE(TestFunctionPatching(kPatchableCode5, override));
+#else
EXPECT_TRUE(TestFunctionPatching(kPatchableCode5, override));
+#endif
EXPECT_FALSE(TestFunctionPatching(kUnpatchableCode1, override));
EXPECT_FALSE(TestFunctionPatching(kUnpatchableCode2, override));
OpenPOWER on IntegriCloud