breakpad/src/client
rmcilroy@chromium.org 501673c86b Make crash_handler volatile to prevent compiler optimizing it away.
This bug manifests itself on Android x64 (in ExceptionHandlerTest::ExternalDumper), but is possible on any platform.

The compiler is unaware of the code which runs in the signal handler which reads this variable. Without volatile the compiler is free to optimise away writes to this variable which it believes are never read.

BUG=381142, 346626
R=thestig@chromium.org

Review URL: https://breakpad.appspot.com/8664002

git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1343 4c0a9323-5329-0410-9bdc-e9ce6186880e
2014-07-02 10:27:39 +00:00
..
apple/Framework Create a static library to use Breakpad on iOS. 2011-11-23 16:14:35 +00:00
ios Fix a bug in BreakpadController that prevented multiple report uploads per call to sendStoredCrashReports. 2014-03-19 18:58:36 +00:00
linux Make crash_handler volatile to prevent compiler optimizing it away. 2014-07-02 10:27:39 +00:00
mac Use PAGE_MAX_SIZE. PAGE_SIZE is now a variable size. 2014-06-06 16:20:15 +00:00
solaris/handler Use stdint types everywhere 2013-03-06 14:04:42 +00:00
windows Moving directory 'build' one level up as it collides with a file named 'BUILD' which happens to be in that same location in the Google source depot. 2014-04-10 17:37:20 +00:00
minidump_file_writer-inl.h Clean up build for 64 bit. 2010-07-19 20:43:49 +00:00
minidump_file_writer.cc Update GTM and enable -Wundef and strict C++11 flags. 2014-02-26 16:14:04 +00:00
minidump_file_writer.h Fix the documentation for MinidumpFileWriter::Open(). 2014-05-12 19:36:46 +00:00
minidump_file_writer_unittest.cc Turn on more warnings in ios / mac projects. 2012-09-21 07:58:25 +00:00