Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1008)

Unified Diff: syzygy/agent/asan/memory_interceptors_unittest.cc

Issue 2918423002: Fixed a flaky unittest that shows only on Release 64 bit. (Closed)
Patch Set: Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: syzygy/agent/asan/memory_interceptors_unittest.cc
diff --git a/syzygy/agent/asan/memory_interceptors_unittest.cc b/syzygy/agent/asan/memory_interceptors_unittest.cc
index f997cb76287311fd3d0cbddd9848915087030621..bc8c473e5caf4e5a066a26ebbb805c42ab7a899f 100644
--- a/syzygy/agent/asan/memory_interceptors_unittest.cc
+++ b/syzygy/agent/asan/memory_interceptors_unittest.cc
@@ -119,8 +119,7 @@ static const TestMemoryInterceptors::ClangInterceptFunction
#else
#define DEFINE_CLANG_INTERCEPT_FUNCTION_TABLE(access_size, access_mode_str, \
access_mode) \
- { asan_##access_mode_str##access_size##_8tb, access_size } \
- , {asan_##access_mode_str##access_size##_128tb, access_size},
+ {asan_##access_mode_str##access_size##_128tb, access_size},
#endif
CLANG_ASAN_MEM_INTERCEPT_FUNCTIONS(
DEFINE_CLANG_INTERCEPT_FUNCTION_TABLE)
@@ -316,7 +315,7 @@ TYPED_TEST(MemoryInterceptorsTypedTest, TestRedirectorsSmallMemory) {
#ifndef _WIN64
.WillRepeatedly(Return(MEMORY_ACCESSOR_MODE_2G));
#else
- .WillRepeatedly(Return(MEMORY_ACCESSOR_MODE_8TB));
+ .WillRepeatedly(Return(MEMORY_ACCESSOR_MODE_128TB));
#endif
// Test valid, underrun and overrun.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698