Christian Holler
4cbcb23e42
Bug 1587066 - Use native abort() for ThreadSanitizer. r=jseward
...
Differential Revision: https://phabricator.services.mozilla.com/D48532
--HG--
extra : moz-landing-system : lando
2019-10-09 14:27:21 +00:00
Ehsan Akhgari
e5e885ae31
Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre
...
# ignore-this-changeset
--HG--
extra : amend_source : 7221c8d15a765df71171099468e7c7faa648f37c
extra : histedit_source : a0cce6015636202bff09e35a13f72e03257a7695
2019-01-18 10:16:18 +01:00
Tooru Fujisawa
7983faeb5d
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
a7f1d173a0
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)
--HG--
extra : rebase_source : 7eedce0311b340c9a5a1265dc42d3121cc0f32a0
extra : amend_source : 9cb4ffdd5005f5c4c14172390dd00b04b2066cd7
2018-11-30 16:39:55 +01:00
Sylvestre Ledru
265e672179
Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
...
# ignore-this-changeset
--HG--
extra : amend_source : 4d301d3b0b8711c4692392aa76088ba7fd7d1022
2018-11-30 11:46:48 +01:00
Mike Hommey
f4f54e5aeb
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
3d6d46eaba
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
a393f2a6cf
Bug 1375467 - Redefining abort() in C++ requires extern "C". r=glandium
2017-06-22 05:09:05 -07:00
Nicholas Nethercote
cfcd8fbc5f
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
3091dad435
Bug 1170177 - Disable our own abort() method with MOZ_ASAN. r=froydnj
2015-06-02 23:25:01 +02:00
Mike Hommey
364038011c
Bug 868814 - Fold mozalloc library into mozglue. r=njn
...
--HG--
rename : memory/mozalloc/moz.build => memory/mozalloc/staticruntime/moz.build
2015-03-10 10:01:52 +09:00
Jim Chen
2c4251ec3e
Bug 1066760 - Use more detailed abort message on Android; r=snorp
2014-09-24 14:12:54 -04:00
Jim Chen
ead154121a
Bug 1066760 - Redirect mozalloc_abort through Java exception handling; r=snorp
2014-09-24 14:12:54 -04:00
Ehsan Akhgari
d91d200572
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
36428f7dd6
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
c4079db44b
Bug 761859 - Missing MOZALLOC_EXPORT causes link failure on mingw r=ted
2012-06-11 09:51:06 +02:00
Jeff Walden
e00457555c
Bug 761859 - Make mozalloc_abort use MOZ_CRASH to crash. r=ted
2012-06-05 16:49:30 -07:00
Gervase Markham
82ff7027aa
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Mike Hommey
beeba9e288
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
03ee59ca0a
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
2f6db18989
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
859a94a18d
Bug 577011 - [OS/2] make _declspec unconditionally default symbol export r=daveryeo@telus.net a=benjamin
...
--HG--
extra : rebase_source : f73a926174bd7905f177b2e914492e42b90ac8c0
2010-11-09 11:13:03 +01:00
Jacek Caban
1821e61c09
Bug 558928 - Use DebugBreak instead of __debugbreak. r=ehsan
...
--HG--
extra : rebase_source : b4344a0fff52c708b88871c186c7f740aebc4124
2010-05-21 11:17:00 -04:00
Chris Jones
96fcae4c10
Bug 558928: Use __debugbreak() to abort on windows. r=ehsan
2010-05-18 20:53:53 -05:00
Chris Jones
cd90ce49a1
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
ce99d8226f
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