diff options
author | glider@chromium.org <glider@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-08-23 14:39:45 +0000 |
---|---|---|
committer | glider@chromium.org <glider@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-08-23 14:39:45 +0000 |
commit | a83291d61f1e36f773e59303f55de9b3e9599470 (patch) | |
tree | 9f6fd49c92eeb815b9f5cd74f4c3f0985682949d /chrome/browser/crash_handler_host_linux.h | |
parent | a27065b54c973b8b568e201878fe1fac68e568a8 (diff) | |
download | chromium_src-a83291d61f1e36f773e59303f55de9b3e9599470.zip chromium_src-a83291d61f1e36f773e59303f55de9b3e9599470.tar.gz chromium_src-a83291d61f1e36f773e59303f55de9b3e9599470.tar.bz2 |
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
Diffstat (limited to 'chrome/browser/crash_handler_host_linux.h')
-rw-r--r-- | chrome/browser/crash_handler_host_linux.h | 4 |
1 files changed, 4 insertions, 0 deletions
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); }; |