Commit Graph
26 Commits
Author SHA1 Message Date
Christian Holler 43d31c32e8 Bug 1587066 - Use native abort() for ThreadSanitizer. r=jseward
Differential Revision: https://phabricator.services.mozilla.com/D48532
2019-10-09 14:27:21 +00:00
Ehsan Akhgari 498e2df734 Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre
# ignore-this-changeset
2019-01-18 10:16:18 +01:00
Tooru Fujisawa 5ef6d9cc06 Bug 1511393 - Use c-basic-offset: 2 in Emacs mode line for C/C++ code. r=nbp 2018-12-01 04:52:05 +09:00
Benjamin Bouvier 5e1b39e9bd Bug 1511383: Update vim modelines after clang-format; r=sylvestre
- modify line wrap up to 80 chars; (tw=80)
- modify size of tab to 2 chars everywhere; (sts=2, sw=2)
2018-11-30 16:39:55 +01:00
Sylvestre Ledru e5a134f73a Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
# ignore-this-changeset
2018-11-30 11:46:48 +01:00
Mike Hommey 0242e3318d Bug 1482330 - Upgrade to Android NDK r17b and API level 16 (JB). r=snorp
We're currently using NDK r15c, which is rather old, and happens to come
with a buggy gold linker. Let's use a more recent NDK, with a fixed
linker.

Unfortunately, we're currently at NDK API level 9, which the newer NDK
doesn't provide for x86 anymore. But that corresponds to Gingerbread
(2.3), which we've long stopped supporting. On the SDK side, we already
dropped support of versions before Jelly Bean, so we can do the same on
the NDK side. That corresponds to API level 16. So let's just use that
as a baseline.

Another change in the newer NDK is that the target-name changed from
i386-linux-android to i686-linux-android, so adjust for that in the
android x86 mozconfigs.
2018-08-11 09:47:41 +09:00
Nathan Froyd f7d303958d Bug 1448030 - use SprintfLiteral in fillAbortMessage; r=glandium
The SprintfLiteral checker complains that:

  snprintf(msg, sizeof(msg), ...);

should be using SprintfLiteral instead.  Let's do that.
2018-03-27 10:51:32 -04:00
Petr Sumbera 643afc8458 Bug 1375467 - Redefining abort() in C++ requires extern "C". r=glandium 2017-06-22 05:09:05 -07:00
Nicholas Nethercote 3f62a43886 Bug 1203476 - Fix an Android-only warning in mozalloc_abort.cpp. r=glandium.
And remove the corresponding and now-unnecessary ALLOW_COMPILER_WARNINGS=True.
2015-09-10 16:20:19 -07:00
Christian Holler 983e07053c Bug 1170177 - Disable our own abort() method with MOZ_ASAN. r=froydnj 2015-06-02 23:25:01 +02:00
Mike Hommey d52f1bb3cd Bug 868814 - Fold mozalloc library into mozglue. r=njn 2015-03-10 10:01:52 +09:00
Jim Chen 1861274858 Bug 1066760 - Use more detailed abort message on Android; r=snorp 2014-09-24 14:12:54 -04:00
Jim Chen 7759a0439a Bug 1066760 - Redirect mozalloc_abort through Java exception handling; r=snorp 2014-09-24 14:12:54 -04:00
Ehsan Akhgari 860f2c1f29 Bug 969757 - Remove the dead code in our tree which pretends to support OS/2; r=roc,mcmanus,gps,jorendorf,bsmedberg sr=bsmedberg 2014-02-10 17:57:01 -05:00
Chris Jones 67cb38a1ce Bug 824224: Make mozalloc_abort() not MOZ_NORETURN and log errors to logcat. r=glandium 2013-01-04 13:28:37 -08:00
Jacek Caban 4b60291391 Bug 761859 - Missing MOZALLOC_EXPORT causes link failure on mingw r=ted 2012-06-11 09:51:06 +02:00
Jeff Walden f8f041cbc9 Bug 761859 - Make mozalloc_abort use MOZ_CRASH to crash. r=ted 2012-06-05 16:49:30 -07:00
Gervase Markham cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Mike Hommey 4c2d18612f Bug 697301 - Avoid the compiler making optimizations to mozalloc_abort that end up corrupting stack traces. r=cjones 2012-01-13 07:24:17 +01:00
Alon Zakai 8354d0ca9d Bug 644707 - Avoid calling system abort(), generate useful stack traces through a manual segfault instead. r=ted 2011-07-07 14:09:52 -07:00
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 [email protected] 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