From 4d62ffc5b1c1a7f8a0f7c380793c0929c2709d59 Mon Sep 17 00:00:00 2001 From: Mitch Phillips Date: Tue, 18 Feb 2020 17:13:52 -0800 Subject: [PATCH] [GWP-ASan] Remove log line from init. The notification that GWP-ASan is enabled causes ART tests to break. Remove the log for now. Bug: 135634846 Bug: 149790891 Test: (Attempt to fix the ART tests). Change-Id: I8a7751a838a64f160b3b7b9f07752bb64644b9db --- libc/bionic/gwp_asan_wrappers.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libc/bionic/gwp_asan_wrappers.cpp b/libc/bionic/gwp_asan_wrappers.cpp index 03c0f976e..57c92841c 100644 --- a/libc/bionic/gwp_asan_wrappers.cpp +++ b/libc/bionic/gwp_asan_wrappers.cpp @@ -67,7 +67,9 @@ bool gwp_asan_initialize(const MallocDispatch* dispatch, bool*, const char*) { Opts.InstallForkHandlers = true; GuardedAlloc.init(Opts); - info_log("GWP-ASan has been enabled."); + // TODO(b/149790891): The log line below causes ART tests to fail as they're + // not expecting any output. Disable the output for now. + // info_log("GWP-ASan has been enabled."); return true; }