From a83291d61f1e36f773e59303f55de9b3e9599470 Mon Sep 17 00:00:00 2001 From: "glider@chromium.org" Date: Thu, 23 Aug 2012 14:39:45 +0000 Subject: Breakpad support for ASan: take 2. This is an updated version of https://chromiumcodereview.appspot.com/10703116/ which got reverted. When the code is built with ASan, Chrome should register a callback which notifies the browser about a memory error. The error report message is passed to the crash handler and is then sent to the crash server along with the minidump. BUG=143657 Review URL: https://chromiumcodereview.appspot.com/10860006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152989 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/crash_handler_host_linux.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'chrome/browser/crash_handler_host_linux.h') diff --git a/chrome/browser/crash_handler_host_linux.h b/chrome/browser/crash_handler_host_linux.h index 17d04f0..f0db83e 100644 --- a/chrome/browser/crash_handler_host_linux.h +++ b/chrome/browser/crash_handler_host_linux.h @@ -92,6 +92,10 @@ class CrashHandlerHostLinux : public MessageLoopForIO::Watcher, bool shutting_down_; #endif +#if defined(ADDRESS_SANITIZER) + char* asan_report_str_; +#endif + DISALLOW_COPY_AND_ASSIGN(CrashHandlerHostLinux); }; -- cgit v1.1