[compiler-rt] r353484 - Commit macro intended to be included in r353483.

Reid Kleckner via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 7 15:57:21 PST 2019


Author: rnk
Date: Thu Feb  7 15:57:21 2019
New Revision: 353484

URL: http://llvm.org/viewvc/llvm-project?rev=353484&view=rev
Log:
Commit macro intended to be included in r353483.

Modified:
    compiler-rt/trunk/lib/interception/tests/interception_win_test.cc

Modified: compiler-rt/trunk/lib/interception/tests/interception_win_test.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/interception/tests/interception_win_test.cc?rev=353484&r1=353483&r2=353484&view=diff
==============================================================================
--- compiler-rt/trunk/lib/interception/tests/interception_win_test.cc (original)
+++ compiler-rt/trunk/lib/interception/tests/interception_win_test.cc Thu Feb  7 15:57:21 2019
@@ -589,7 +589,7 @@ TEST(Interception, PatchableFunctionWith
   EXPECT_FALSE(TestFunctionPatching(kPatchableCode2, override, prefix));
   EXPECT_FALSE(TestFunctionPatching(kPatchableCode3, override, prefix));
   EXPECT_FALSE(TestFunctionPatching(kPatchableCode4, override, prefix));
-#ifdef _WIN64
+#if SANITIZER_WINDOWS64
   EXPECT_TRUE(TestFunctionPatching(kPatchableCode6, override, prefix));
   EXPECT_TRUE(TestFunctionPatching(kPatchableCode7, override, prefix));
   EXPECT_TRUE(TestFunctionPatching(kPatchableCode8, override, prefix));




More information about the llvm-commits mailing list