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

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

Issue 2363733003: Make syzyasan_rtl compile in 64 bit (Closed)
Patch Set: Created 4 years, 3 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
Index: syzygy/agent/asan/logger_unittest.cc
diff --git a/syzygy/agent/asan/logger_unittest.cc b/syzygy/agent/asan/logger_unittest.cc
index 446d7e3278bfcda4f39866b746090de1b5043c8c..55e49ff28f0340831011d13b7fde85e139a5ebfa 100644
--- a/syzygy/agent/asan/logger_unittest.cc
+++ b/syzygy/agent/asan/logger_unittest.cc
@@ -125,7 +125,15 @@ TEST_F(AsanLoggerTest, EndToEnd) {
using base::FileEnumerator;
FileEnumerator fe(temp_dir_.path(), false, FileEnumerator::FILES, L"*.dmp");
base::FilePath minidump(fe.Next());
+ // The 64 bit version of the logger doesn't support writting minidumps yet
+ // because it relies on Kasko, which hasn't been ported to 64-bit. Make sure
+ // that no PDB get produced until we switch the minidump generation to using
+ // Crashpad.
+#ifndef _WIN64
EXPECT_FALSE(minidump.empty());
+#else
+ EXPECT_TRUE(minidump.empty());
+#endif
EXPECT_TRUE(fe.Next().empty());
// TODO(rogerm): Inspect the contents of the minidump.

Powered by Google App Engine
This is Rietveld 408576698