Commit Graph

1059 Commits

Author SHA1 Message Date
James Willcox
971791b2bb Bug 1247399 - Put r7 in clobber registers for breakpad's sys_clone() r=glandium 2016-02-26 14:50:39 -06:00
Jeffrey Tran
b62fba67b8 Bug 637238 - Uncheck rich text option in MainMenu.nib. r=ted 2016-02-22 09:21:15 -08:00
Milan Sreckovic
718c1f90fb Bug 1240160: Add the TimeStamp based uptime value to crash reports, tagging it as UptimeTS, to differentiate from an existing Uptime value. A bit of additional code, avoiding the usage of C libraries to format some strings and a way to gtest these. r=BenWa,ted.mielczarek carrying ted.mielczarek review for the exception handler changes.
MozReview-Commit-ID: 12pRuD7agIG
2016-02-17 17:44:21 -05:00
Birunthan Mohanathas
97fa807eb0 Bug 1236343 - Cherry-pick upstream Breakpad commit "Try loading msdiaNNN.dll if CoCreateInstance(CLSID_DiaSource) fails". r=ted
1e24e66fbb

DONTBUILD because we don't build pdb_source_line_writer.cc yet.
2016-02-17 11:36:19 -05:00
James Willcox
b66db23e34 Bug 1247978 - Ensure minidump header gets written during crash dump on Linux r=ted 2016-02-16 10:16:57 -06:00
James Willcox
d2c9b45171 Bug 1247399 - Add some debug spew to Linux crash handler r=ted 2016-02-16 10:16:57 -06:00
Mike Hommey
2412e7fe93 Followup for bug 1069556: Remove what was removed in bug 1245055. r=me 2016-02-10 10:16:07 +09:00
Blake Kaplan
c1a453289a Bug 1245723 - Make crashreporter browser-chrome tests e10s compatible. r=felipe 2016-02-09 14:40:35 -08:00
James Willcox
7a9c161c34 Bug 1245612 - Send texture usage bytes in crash reports r=bsmedberg 2016-02-08 09:18:52 -06:00
Ted Mielczarek
17dc55c851 bug 1069556 - sync to Breakpad c53ed143108948eb7e2d7ee77dc8c0d92050ce7c. r=glandium, benwa
This commit contains a few things:
* Update our copy of google-breakpad to upstream c53ed143108948eb7e2d7ee77dc8c0d92050ce7c
* Get rid of all but one local patch, fold a few related local patches into one
* Misc build fixup to sync with upstream--adding a few new moz.build files,
  source files
* The final bits of unhooking Breakpad from the profiler:
** Revert to only building toolkit/crashreporter if MOZ_CRASHREPORTER.
** Stop building bits of Breakpad that we only needed for the profiler.
** Remove a few bits of profiler code that were used to interface with Breakpad.
** Remove toolkit/crashreporter/breakpad-logging, which was only used to
   suppress Breakpad logging for the in-process stackwalker.
* Upstream removed their Android-compat sys/ucontext.h because the Android NDK
  added it, but the bionic we're using for Gonk builds is too old, so add a
  copy of the previous version of those files to
  toolkit/crashreporter/gonk-include to keep Gonk building.
* Consolidate moz.build files under toolkit/crashreporter/google-breakpad/client/linux
2016-01-27 09:39:53 -05:00
Ted Mielczarek
a715475db7 bug 1069556 - change update-breakpad.sh to work with Breakpad's git repo (NPOTB) 2015-10-23 15:25:30 -04:00
Dave Townsend
71be6979b2 Bug 1245649: Turn on use-isnan, no-unexpected-multiline, no-octal and no-self-compare. r=MattN 2016-02-03 18:21:30 -08:00
Dave Townsend
4dd6b34d65 Bug 1245649: Turn on no-extra-semi. r=markh 2016-02-03 17:27:36 -08:00
Dave Townsend
309dc8a792 Bug 1245649: Turn on linebreak-style. r=Gijs 2016-02-03 17:04:56 -08:00
Dave Townsend
dd99c04a73 Bug 1245649: Merge browser and toolkit eslint rule settings. r=felipe 2016-02-03 13:12:18 -08:00
Mike Hommey
a01e44dc89 Bug 1245055 - Remove toolkit/crashreporter/google-breakpad/src/client/linux/handler/Makefile.in. r=mshal
The remains in this file come from bug 633436. I'm not sure what the
toolchain was back then (5 years ago), but it doesn't appear what it
was trying to work around happens nowadays, so just get rid of the
workaround.
2016-02-03 08:41:26 +09:00
Blake Kaplan
2406442dad Bug 1243928 - Make these tests work in e10s. r=felipe 2016-02-02 13:44:11 -08:00
James Willcox
f98826f89f Bug 1142944 - Don't use PTRACE_GETFPREGS when getting crash trace on Android/ARM r=ted 2016-01-26 11:49:59 -06:00
Carsten "Tomcat" Book
7e49d89c3e Backed out changeset 0e628eff02f5 (bug 1069556) for multiple test failures after landing on a CLOSED TREE 2016-01-26 14:53:45 +01:00
Carsten "Tomcat" Book
6e37335f30 Backed out changeset 09fd4f3ab6e7 (bug 1069556) 2016-01-26 14:53:06 +01:00
Carsten "Tomcat" Book
fa82dc1b72 Backed out changeset 31c98f5e107b (bug 1069556) 2016-01-26 14:53:02 +01:00
Carsten "Tomcat" Book
4da159aed8 Backed out changeset 168001ae11e4 (bug 1069556) 2016-01-26 14:53:00 +01:00
Ted Mielczarek
f97b4ab78b Fix dep build bustage from bug 1069556. r=bustage CLOSED TREE HOSED TREE 2016-01-26 06:25:27 -05:00
Ted Mielczarek
b36485f315 bug 1069556 - local build changes to match up with upstream Breakpad. r=benwa,glandium
This commit contains a few things:
* Misc build fixup to sync with upstream--adding a few new moz.build files,
  source files
* The final bits of unhooking Breakpad from the profiler:
** Revert to only building toolkit/crashreporter if MOZ_CRASHREPORTER.
** Stop building bits of Breakpad that we only needed for the profiler.
** Remove a few bits of profiler code that were used to interface with Breakpad.
** Remove toolkit/crashreporter/breakpad-logging, which was only used to
   suppress Breakpad logging for the in-process stackwalker.
* Upstream removed their Android-compat sys/ucontext.h because the Android NDK
  added it, but the bionic we're using for Gonk builds is too old, so add a
  copy of the previous version of those files to
  toolkit/crashreporter/gonk-include to keep Gonk building.
* Consolidate moz.build files under toolkit/crashreporter/google-breakpad/client/linux
2015-11-09 08:14:52 -05:00
Ted Mielczarek
747ff45e16 bug 1069556 - sync to Breakpad c53ed143108948eb7e2d7ee77dc8c0d92050ce7c. r=glandium 2015-10-09 15:29:26 -04:00
Ted Mielczarek
2bc99c8350 bug 1069556 - change update-breakpad.sh to work with Breakpad's git repo (NPOTB) 2015-10-23 15:25:30 -04:00
Sylvestre Ledru
14ec5bc735 Bug 1218816 - Remove useless semicolons. Found by coccinelle. r=Ehsan 2016-01-22 16:58:49 +01:00
Chris Peterson
24ba10180a Bug 1236390 - Suppress -Wimplicit-fallthrough warnings in third-party code from Google Breakpad. r=bsmedberg
toolkit/crashreporter/google-breakpad/src/common/dwarf/dwarf2reader.cc:195:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
toolkit/crashreporter/google-breakpad/src/processor/minidump.cc:4022:9 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
2015-12-30 11:50:27 -07:00
Dave Townsend
fb1e757d42 Bug 1229142: Link browser and toolkit test directory to the shared eslintrc files. r=Standard8 2015-11-30 13:05:00 -08:00
Ryan VanderMeulen
f0dc54f9b2 Merge inbound to m-c. a=merge 2016-01-01 19:29:16 -05:00
Nick Alexander
2d12810664 Bug 1207890 - Post: Hacks to make --disable-compile-environment work on Mac OS X. r=glandium 2015-12-23 16:50:47 -08:00
Dave Townsend
625465b938 Bug 1229519: Fix miscellaneous parts of toolkit to pass eslint checks. r=MattN 2015-12-03 10:02:45 -08:00
Mike Hommey
e49f5e69ec Bug 1228742 - Don't install CrashTestUtils.jsm to dist/bin/modules. r=mshal
It's actually shipped by mistake, and it's copied to the appropriate
test directory by other means.
2015-12-01 08:25:22 +09:00
Mike Hommey
3d20ea6fce Backout changeset 0104f1c911ca (bug 1223530) because it breaks running on Windows XP on a CLOSED TREE 2015-11-26 08:38:16 +09:00
Ted Mielczarek
7038d7d62a bug 1223530 - Move MOZ_WINCONSOLE to configure. r=glandium
This patch moves the logic for selecting MOZ_WINCONSOLE out of individual
Makefile.in files and into configure. It also changes config.mk to only
pass -SUBSYSTEM:CONSOLE if MOZ_WINCONSOLE=1. The MSDN docs state that
in the absence of -SUBSYSTEM, the linker will select the proper subsystem
based on whether the program contains [w]main or [w]WinMain, so let it
do that.

One program (windbgdlg) needed a tweak to add a wmain for when MOZ_WINCONSOLE
is defined.

This patch leaves one instance in security/sandbox/win/wow_helper/Makefile.in,
that Makefile has its own separate bug.
2015-11-11 06:24:39 -05:00
Ted Mielczarek
d31d435b55 bug 1224308 - Remove some Makefile cruft. r=gps 2015-11-12 06:39:11 -05:00
Nick Alexander
f460ef1711 Bug 1208605 - Try MOZ_ANDROID_PACKAGE_NAME env var before static ANDROID_PACKAGE_NAME. r=snorp 2015-09-25 14:47:50 -07:00
Ted Mielczarek
22afca1f84 Remove some old clobber-workarounds. No bug. 2015-11-09 09:36:35 -05:00
Birunthan Mohanathas
94998cf5fe Bug 1219392 - Capitalize mozilla::unused to avoid conflicts. r=froydnj 2015-11-02 07:53:26 +02:00
Gregory Szorc
fa967a4cfd Bug 1207871 - Process files in descending file size order; r=ted
Large files take longer to process. Scheduling large files after smaller
files means there is a higher chance a large file may be a long pole
during processing.

This commit changes the scheduling logic to exhaustively obtain the set
of files to be processed. It then sorts them by descending file size and
schedules them in the resulting order, thus minimizing the chances for a
large file to be the long pole holding up processing completion.

On my machine this doesn't change wall execution time. However,
automation may be different. And the logic of the new behavior is sound.
2015-09-23 22:26:41 -04:00
Gregory Szorc
84426d366d Bug 1175632 - Record how long each symbol file took to process; r=ted
As part of this an unused import was removed.
2015-10-26 15:58:15 -04:00
Tooru Fujisawa
682bfa0898 Bug 1217082 - Remove for-each from toolkit/. r=Gijs 2015-10-19 04:57:14 +09:00
Ted Mielczarek
54f00ff027 bug 1217051 - Pipe dump_syms stderr to /dev/null. r=catlee 2015-10-21 12:54:16 -04:00
Nicholas Nethercote
dc76c149ec Bug 1186785 - Replace nsBaseHashtable::EnumerateRead() calls in toolkit/ with iterators. r=froydnj. 2015-10-19 15:46:46 -07:00
Nicholas Nethercote
e49efba560 Bug 1216020 - Comment all ALLOW_COMPILER_WARNINGS lines. r=glandium.
DONTBUILD because it only changes comments.

This will hopefully prevent confusion like that in bug 1215903.
2015-10-19 18:05:20 -07:00
Chris Manchester
916252c920 Bug 1175857 - Build libraries composing dump_syms with optimization. r=glandium
A previous patch enabled optimizations when building the dump_syms executable.
This patch enables optimizations when building dependent libraries, where much
of the work is actually done, to achieve the expected speeedup.
2015-10-19 17:57:11 -07:00
Mike Hommey
e8fe7e84e4 Bug 1235674 - Move CXXFLAGS from toolkit/crashreporter/client/Makefile.in to the corresponding moz.build. r=mshal 2015-12-31 07:46:00 +09:00
Chris Manchester
247f3c9d0f Bug 1175857 - Build dump_syms with compiler optimizations; r=glandium
dump_syms has been measured to be ~50% faster when compiled with
optimizations. Since symbol generation takes a lot of time on the
builders, this difference matters.

Compile dump_syms with optimizations to make symbol dumping faster
and hopefully making build jobs faster as well.
2015-09-24 17:05:40 -04:00
Eric Rahm
98d83a2260 Bug 1194555 - Part 6: Run reporters asynchronously. r=njn,jld,ted 2015-10-14 16:52:59 -07:00
Michael Layzell
5edfd55115 Bug 1183355 - Annotate crash reports triggered by MOZ_CRASH in release builds, r=froydnj 2015-10-08 10:01:08 -04:00