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

Unified Diff: content/zygote/zygote_linux.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/zygote/zygote_linux.cc
diff --git a/content/zygote/zygote_linux.cc b/content/zygote/zygote_linux.cc
index f7e043ac523f1104b3c4c346ff8db9365172ffb6..ca6a8c65692ba896fc8d86e5a1c95e5b1c09ac1f 100644
--- a/content/zygote/zygote_linux.cc
+++ b/content/zygote/zygote_linux.cc
@@ -37,10 +37,6 @@
#include "ipc/ipc_channel.h"
#include "ipc/ipc_switches.h"
-#if defined(ADDRESS_SANITIZER)
-#include <sanitizer/asan_interface.h>
-#endif
-
// See http://code.google.com/p/chromium/wiki/LinuxZygote
namespace content {
@@ -165,8 +161,9 @@ bool Zygote::HandleRequestFromBrowser(int fd) {
it < extra_fds_.end(); ++it) {
PCHECK(0 == IGNORE_EINTR(close(*it)));
}
-#if !defined(ADDRESS_SANITIZER)
- // TODO(earthdok): add watchdog thread before using this in non-ASAN builds.
+#if !defined(SANITIZER_COVERAGE)
+ // TODO(earthdok): add watchdog thread before using this in builds not
+ // using sanitizer coverage.
CHECK(extra_children_.empty());
#endif
for (std::vector<base::ProcessHandle>::iterator it =

Powered by Google App Engine
This is Rietveld 408576698