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

Unified Diff: content/gpu/gpu_main.cc

Issue 868893004: Replace the asan_coverage GYP flag with sanitizer_coverage which is to be used with other sanitizer… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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: content/gpu/gpu_main.cc
diff --git a/content/gpu/gpu_main.cc b/content/gpu/gpu_main.cc
index 378f07cb255c282c07944caf9fc2b270e17a5eb9..85e6780a30a4ee3a95d0cdb6430b3e55065f603a 100644
--- a/content/gpu/gpu_main.cc
+++ b/content/gpu/gpu_main.cc
@@ -58,8 +58,8 @@
#include "content/common/sandbox_mac.h"
#endif
-#if defined(ADDRESS_SANITIZER)
-#include <sanitizer/asan_interface.h>
+#if defined(SANITIZER_COVERAGE)
+#include <sanitizer/common_interface_defs.h>
#endif
const int kGpuTimeout = 10000;
@@ -489,7 +489,7 @@ bool StartSandboxLinux(const gpu::GPUInfo& gpu_info,
LinuxSandbox::StopThread(watchdog_thread);
}
-#if defined(ADDRESS_SANITIZER)
+#if defined(SANITIZER_COVERAGE)
const std::string sancov_file_name =
"gpu." + base::Uint64ToString(base::RandUint64());
LinuxSandbox* linux_sandbox = LinuxSandbox::GetInstance();

Powered by Google App Engine
This is Rietveld 408576698