Commit Graph

296 Commits

Author SHA1 Message Date
Birunthan Mohanathas
a22220e378 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
67da777b83 Bug 1247978 - Ensure minidump header gets written during crash dump on Linux r=ted 2016-02-16 10:16:57 -06:00
James Willcox
4a644027c8 Bug 1247399 - Add some debug spew to Linux crash handler r=ted 2016-02-16 10:16:57 -06:00
Mike Hommey
64173a71ed Followup for bug 1069556: Remove what was removed in bug 1245055. r=me 2016-02-10 10:16:07 +09:00
Ted Mielczarek
ea6f9a1958 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

--HG--
rename : toolkit/crashreporter/google-breakpad/src/common/pathname_stripper.h => toolkit/crashreporter/google-breakpad/src/processor/pathname_stripper.h
rename : toolkit/crashreporter/google-breakpad/src/common/pathname_stripper_unittest.cc => toolkit/crashreporter/google-breakpad/src/processor/pathname_stripper_unittest.cc
extra : histedit_source : 43e65f5432657f548cac5aa7936461e58454c3b6%2C7b56ccc79d9d58ebde0583d920f3593e25212621
extra : rebase_source : f6dbfb8fb2ba5b27e63b26d57c404962679c7a76
extra : commitid : DMQlXPms868
extra : source : 09fd4f3ab6e764016fe073efb226f03b5969af59
extra : intermediate-source : 16f9d3a6d2ef6a6efd088e3b8eff0a4723daef8f
2016-01-27 09:39:53 -05:00
Dave Townsend
541b00204a Bug 1245649: Merge browser and toolkit eslint rule settings. r=felipe
--HG--
extra : commitid : DrYPQokQp9O
extra : rebase_source : e0bacf124280ecdbeccfc34dbf66fd80f5a9d296
2016-02-03 13:12:18 -08:00
Mike Hommey
9ec0d0969f 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
James Willcox
084cb94a2c 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
1bcf4b4b99 Backed out changeset 09fd4f3ab6e7 (bug 1069556)
--HG--
rename : toolkit/crashreporter/google-breakpad/src/processor/pathname_stripper.h => toolkit/crashreporter/google-breakpad/src/common/pathname_stripper.h
rename : toolkit/crashreporter/google-breakpad/src/processor/pathname_stripper_unittest.cc => toolkit/crashreporter/google-breakpad/src/common/pathname_stripper_unittest.cc
2016-01-26 14:53:06 +01:00
Carsten "Tomcat" Book
db55b0fa77 Backed out changeset 31c98f5e107b (bug 1069556)
--HG--
rename : toolkit/crashreporter/google-breakpad/src/client/linux/Makefile.in => toolkit/crashreporter/google-breakpad/src/client/linux/handler/Makefile.in
2016-01-26 14:53:02 +01:00
Ted Mielczarek
bf718146b7 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

--HG--
rename : toolkit/crashreporter/google-breakpad/src/client/linux/handler/Makefile.in => toolkit/crashreporter/google-breakpad/src/client/linux/Makefile.in
extra : commitid : GR2H5y5DM7E
extra : rebase_source : 212b8f04703555658e1df026de2211ea20ac390b
2015-11-09 08:14:52 -05:00
Ted Mielczarek
8b33bf2725 bug 1069556 - sync to Breakpad c53ed143108948eb7e2d7ee77dc8c0d92050ce7c. r=glandium
--HG--
rename : toolkit/crashreporter/google-breakpad/src/common/pathname_stripper.h => toolkit/crashreporter/google-breakpad/src/processor/pathname_stripper.h
rename : toolkit/crashreporter/google-breakpad/src/common/pathname_stripper_unittest.cc => toolkit/crashreporter/google-breakpad/src/processor/pathname_stripper_unittest.cc
extra : commitid : JrvwN8snpm2
extra : rebase_source : 3433235330b64ae20abbcc6defb26218617a165f
2015-10-09 15:29:26 -04:00
Ted Mielczarek
737a624570 Remove some old clobber-workarounds. No bug.
--HG--
extra : commitid : Aq9m2eEAqGo
extra : rebase_source : 84ff27c8a144dca757608d6b59fdc3344fc1afa2
2015-11-09 09:36:35 -05:00
Nicholas Nethercote
5b34a25af2 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.

--HG--
extra : rebase_source : f0a601d77b5f42b4fbe090693234f934e3becc42
2015-10-19 18:05:20 -07:00
Chris Manchester
08c59074db 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.

--HG--
extra : commitid : 6Ud7gz1BNMU
2015-10-19 17:57:11 -07:00
Chris Manchester
83de823d6b 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.

--HG--
extra : commitid : 6g0sbZClTNW
2015-09-24 17:05:40 -04:00
Ted Mielczarek
dc4944233c bug 543111 - Fix Mac Breakpad host tools to build in Linux cross-compile. r=mento,glandium
--HG--
rename : toolkit/crashreporter/google-breakpad/src/tools/mac/dump_syms/dump_syms_tool.mm => toolkit/crashreporter/google-breakpad/src/tools/mac/dump_syms/dump_syms_tool.cc
extra : commitid : 1MeVskegqFV
extra : rebase_source : 99fae330b3917e46c380e0c83054790ecd661ea5
2015-10-01 15:04:27 -04:00
Carsten "Tomcat" Book
d325d6fc78 Backed out 4 changesets (bug 543111) for mac bustage on a CLOSED TREE
Backed out changeset 81f6fdc25862 (bug 543111)
Backed out changeset d1a73eaa6113 (bug 543111)
Backed out changeset 08c7f9ed5970 (bug 543111)
Backed out changeset 3b323ed3b20a (bug 543111)

--HG--
rename : toolkit/crashreporter/google-breakpad/src/tools/mac/dump_syms/dump_syms_tool.cc => toolkit/crashreporter/google-breakpad/src/tools/mac/dump_syms/dump_syms_tool.mm
2015-10-01 14:32:11 +02:00
Ted Mielczarek
c3b97accbb bug 543111 - Fix Mac Breakpad host tools to build in Linux cross-compile. r=mento,glandium
--HG--
rename : toolkit/crashreporter/google-breakpad/src/tools/mac/dump_syms/dump_syms_tool.mm => toolkit/crashreporter/google-breakpad/src/tools/mac/dump_syms/dump_syms_tool.cc
extra : commitid : 9ALTpfdqmnH
extra : rebase_source : 67000f6e4027b895df096a48f3255e864ac10167
2015-10-01 06:24:58 -04:00
Ted Mielczarek
6be16c3688 bug 1198226 - Move HOST_{C,CXX}FLAGS to moz.build HOST_{CFLAGS,CXXFLAGS,DEFINES}. r=mshal
As part of this move, HOST_NSPR_MDCPUCFG needed to be changed to get the quoting right.

--HG--
extra : commitid : J26MhSiPq9g
extra : rebase_source : 81c5b98371042803741ddace8d01b0097757dff3
2015-09-08 11:35:43 -04:00
Nicholas Nethercote
f44287005f Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium.
The patch removes 455 occurrences of FAIL_ON_WARNINGS from moz.build files, and
adds 78 instances of ALLOW_COMPILER_WARNINGS. About half of those 78 are in
code we control and which should be removable with a little effort.

--HG--
extra : rebase_source : 82e3387abfbd5f1471e953961d301d3d97ed2973
2015-08-27 20:44:53 -07:00
J. Ryan Stinnett
8bf1667a5d Bug 1166964 - Disable Breakpad INFO logging. r=ted 2015-06-08 13:04:04 -05:00
Mike Hommey
ea7750bcb1 Bug 991983 - Define SOURCES as SourcePath. r=gps 2015-05-28 07:34:15 +09:00
David Major
ebde6b9f4f Bug 1157835: Remove the MSVC_ENABLE_PGO flag from the build system. r=glandium
--HG--
extra : rebase_source : 0c47c99bb8b92f8361a51fd81b20a2cc8647a986
2015-04-27 19:59:27 -04:00
Andrea Marchesini
cb54385682 Bug 1156632 - Remove unused forward class declarations - patch 4 - netwerk image and dom, r=ehsan 2015-04-22 08:29:20 +02:00
Andrea Marchesini
e6f385fb3d Bug 1148527 - Indentation fix after bug 1145631, r=ehsan 2015-03-27 18:52:19 +00:00
Gervase Markham
55e31ac559 Bug 1141045 - Take upstream patch to fix licensing of Unicode Consortium files. r=ted 2015-03-20 09:14:00 -04:00
Brian Smith
1e523dd28b Bug 1119072, Part 15: Replace uses of hash_map with unordered_map (toolkit), r=ted
--HG--
extra : rebase_source : 3dc5e53c78bf6ab598e5c68c0f14511ee95c17fc
2015-01-08 15:38:26 -08:00
Ehsan Akhgari
aef4530afb Bug 1123356 - Fix building crash_generation_server.cc with libc++; r=ted 2015-01-21 22:42:40 -05:00
Brian Smith
ea66053341 Bug 1119776, Part 7: Avoid defining snprintf when MSVC provides it (other), r=bsmedberg
--HG--
extra : rebase_source : 3fc7e4e83f57252e15cf32846f23e497f8532ea5
2015-01-08 22:35:33 -08:00
Douglas Crosher
0db15a945e Bug 1089931 - Android NDK r10c includes ucontext.h. r=glandium 2014-11-01 17:34:27 +11:00
Jacek Caban
a42517e171 Bug 856566 - Fix crashreporter compilation and profiler on mingw. r=ted
--HG--
extra : rebase_source : def8db32e1474876ea10cc3f106a2ce75acda8e9
2014-11-03 14:15:17 +01:00
Wander Lairson Costa
ef75b07c68 Bug 1059942 - Make dump_syms to parse public symbols. r=ted
Currently, dump_syms does not look at public symbols if the object file
has debug info. This may cause it to skip some symbols that do not have
.debug_info section. Notably we see this at bionic routines implemented
in assembly. Details can be found at [1].

Apply patch [2] to enable dump_syms read public symbols even when
DWARF debug info is found.

[1] http://tinyurl.com/k3pxw5l

[2] https://breakpad.appspot.com/9684002/
2014-10-09 14:59:00 -04:00
Nathan Froyd
9dd56aad09 Bug 1080107 - remove XPI_NAME definitions from crashreporter moz.build files; r=mshal 2014-10-08 16:18:04 -04:00
Jed Davis
5043e01249 Bug 1068410 - Convert remote crash dump to use pipe instead of socketpair in the child. r=kang r=ted 2014-10-03 14:55:03 -07:00
Jed Davis
aaac17ba60 Bug 1068410 - Remove procfs-searching workaround for credential-passing bug. r=ted 2014-10-03 14:55:03 -07:00
Mike Hommey
ed70c5f377 Bug 1041941 - Use templates for programs, simple programs, libraries and C++ unit tests. r=gps 2014-09-03 14:10:54 +09:00
Robert Longson
c4cf1d93c6 Bug 1054632 - constructor init list in wrong order in CrashGenerationServer r=ted 2014-08-30 09:15:35 +01:00
David Major
02c81efdf7 Bug 1048091 - Support for multiple upload files in Breakpad. r=ted 2014-08-30 15:49:33 +12:00
Georg Fritzsche
9d70e0eca1 Bug 1012912 - Killing plugin-container with SIGABRT doesn't trigger the crash reporter on Mac. r=ted 2014-07-29 16:58:34 +02:00
Mike Hommey
8e037642dc Bug 1036894 part 7 - Move HOST_LIBS to moz.build, as HOST_USE_LIBS. r=gps 2014-07-23 13:29:50 +09:00
Mike Hommey
bc5d6801bb Bug 1041860 - Avoid setting FINAL_LIBRARY to libraries that further use a FINAL_LIBRARY. r=mshal 2014-07-23 08:37:51 +09:00
Jim Chen
455c5b1b12 Bug 1033006 - Don't free pointer in BasicCodeModules::BasicCodeModules before possibly using it; r=ted 2014-07-08 14:53:17 -04:00
Nathan Froyd
d337b14be1 Bug 1022684 - add -Wno-unused-local-typedefs to various bits of crashreporter building; r=mshal 2014-06-09 11:12:06 -04:00
Chris Peterson
1c950ef37a Bug 666646 - Part 2: Cherrypick -Wdeprecated-register warning fix from upstream google-breakpad. r=ed 2014-05-29 21:17:14 -07:00
Jim Chen
97756868df Bug 1011680 - Fix crash reporter warnings when building with GCC 4.8. r=ted 2014-05-20 09:54:00 -04:00
Jed Davis
fb0b5848d3 Bug 942290 - Merge ARM exidx info with DWARF if both are present. r=ted 2014-05-19 15:46:00 +02:00
Chris Peterson
e4a8d4ab43 Bug 666646 - Fix warnings in toolkit/crashreporter and suppress MSVC warning in third-party Breakpad code. r=ted 2014-05-14 20:11:14 -07:00
Steven Michaud
e2312002fb Bug 1002564 - All crashes with reason EXC_BAD_ACCESS / 0x0000000d have a 32-bit crash address. r=ted 2014-04-30 17:05:18 -05:00
Ehsan Akhgari
17f4a32d8b Bug 976896 - Port STL_FLAGS to moz.build; r=mshal 2014-03-04 19:39:06 -05:00