Commit Graph

6 Commits

Author SHA1 Message Date
Rafael Ávila de Espíndola
dc01509502 Bug 657528 - Use a volatile pointer to force a trap; r=ehsan
Clang issues the warning:
mozalloc_abort.cpp:64:22: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference]

And sure enough, TouchBadMemory is currently broken with clang. That breaks mozalloc_abort
which breaks NS_DebugBreak which breaks the crashreport test.
2011-05-16 21:07:06 -04:00
Walter Meinl
010030bdc2 Bug 577011 - [OS/2] make _declspec unconditionally default symbol export r=daveryeo@telus.net a=benjamin 2010-11-09 11:13:03 +01:00
Jacek Caban
5853caebc7 Bug 558928 - Use DebugBreak instead of __debugbreak. r=ehsan 2010-05-21 11:17:00 -04:00
Chris Jones
0aa68c2ced Bug 558928: Use __debugbreak() to abort on windows. r=ehsan 2010-05-18 20:53:53 -05:00
Chris Jones
c991fe3d25 Bug 564185: Centralize the breakpad-triggering abort code in mozalloc and use |*NULL| to abort on mac, since abort() doesn't trigger breakpad. r=ted 2010-05-18 20:53:52 -05:00
Chris Jones
c4df938d48 Bug 557060: Interpose _Throw() on MSVC and centralize pseudo-throw code in mozalloc. r=ehsan sr=bsmedberg 2010-04-20 15:12:02 -05:00