breakpad/src
vapier@chromium.org 85e4cf8029 tests: InstructionPointerMemoryNullPointer: make it work under llvm
When LLVM sees an attempt to dereference a NULL pointer, it will generate
invalid opcodes (undefined behavior) which leads to SIGILL which breaks
this unittest.  Upstream's recommendation in this case is to add volatile
markings to get the actual dereference to happen.

This is documented in the blog post under "Dereferencing a NULL Pointer":
http://blog.llvm.org/2011/05/what-every-c-programmer-should-know.html


git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1473 4c0a9323-5329-0410-9bdc-e9ce6186880e
2015-07-20 06:19:49 +00:00
..
build Rename gyp variable use_titlecase_in_grd_files -> use_titlecase_in_grd. 2014-09-10 12:47:46 +00:00
client tests: InstructionPointerMemoryNullPointer: make it work under llvm 2015-07-20 06:19:49 +00:00
common Use local variable for out parameter rather than direct use of ivar 2015-06-20 00:32:37 +00:00
google_breakpad Use general instruction/stack pointer convenience method instead of manually 2015-06-30 23:22:09 +00:00
processor Add ELF header analysis when checking for instruction pointer in code. 2015-07-16 20:42:29 +00:00
third_party MIPS64: Initial MIPS64 related change. 2015-04-15 19:28:11 +00:00
tools Reconfigured options for sym_upload to not treat h and ? flags as invalid options. 2015-06-22 21:21:40 +00:00
breakpad_googletest_includes.h disable unittests under ASAN that use memory crashes 2013-12-11 05:38:34 +00:00
config.h.in Use AM_MAINTAINER_MODE so configure supports --enable-maintainer-mode 2013-12-10 12:28:11 +00:00