Commit Graph

143 Commits

Author SHA1 Message Date
Mike Hommey
4c9231de07 Bug 748739 - Link stdc++compat as a static library, and always link it when STDCXX_COMPAT is enabled. r=ted
--HG--
rename : build/stdc++compat.cpp => build/unix/stdc++compat/stdc++compat.cpp
2012-04-30 08:03:59 +02:00
Michael Wu
680a4a71eb ELFSIZE not defined on gonk-ics (bug 737190, r=gal). 2012-03-25 03:15:33 +02:00
Mike Hommey
9c01184971 Bug 716544 - Avoid unexpectedly including toolkit/crashreporter/google-breakpad/src/common/memory.h. r=ted 2012-03-13 09:47:02 +01:00
Mike Hommey
c17402ac1f Backout changesets 923a278f7ad5, 8f0164c90145, f5171db26f48, 7b590e1e392c and bd9a2f904e1f (bug 716544) because of Linux red 2012-03-13 10:29:26 +01:00
Mike Hommey
aa58de1df6 Bug 716544 - Avoid unexpectedly including toolkit/crashreporter/google-breakpad/src/common/memory.h. r=ted 2012-03-13 09:47:02 +01:00
Mike Hommey
be5d6e436a Bug 720704 - Avoid setting an alternative stack for signals if there is already one. r=ted 2012-02-16 09:00:53 +01:00
Steven Michaud
68d225c46c Bug 721160 - Stop explicitly linking libcrypto on OS X. r=ted 2012-02-13 14:21:44 -06:00
Mike Hommey
f4d31f2a3d Bug 721321 - Fix sys_clone() on ARM to work reliably in Thumb-2. r=jbramley 2012-02-13 15:49:05 +01:00
Jim Blandy
86c2a77d10 Bug 714129: Breakpad DWARF: Add support for DWARF 4 attribute forms. r=ted
This patch allows Breakpad's DWARF reader to at least read or skip
attributes using the new forms defined in version 4 of the DWARF
specification, instead of crashing.

Attributes encoded using DW_FORM_flag_present, DW_FORM_sec_offset, and
DW_FORM_exprloc should work fine now. However, compilation units using
DW_FORM_ref_sig8 to refer to types in .debug_types will need further work
to support. (GCC 4.6.2 does not emit .debug_types sections.)

Specifically:

- dwarf2reader::DwarfForm gets new values.
- dwarf2reader::Dwarf2Handler and dwarf2reader::DIEHandler get new handler
  methods, named ProcessAttributeSignature, for DW_FORM_ref_sig8 attributes.
- dwarf2reader::CompilationUnit reads DW_FORM_ref_sig8 attributes, and
  passes them to ProcessAttributeSignature. It also gets support for
  DW_FORM_sec_offset, DW_FORM_exprloc, and DW_FORM_flag_present, using the
  existing appropriate ProcessAttribute* methods.
- dwarf2reader::DIEDispatcher passes through ProcessAttributeSignature
  attributes to its DIEHandler.
- Unit tests are updated.
2012-02-01 11:27:33 -08:00
Jim Blandy
6557b90fd2 Bug 714129: Breakpad DWARF support: Remove extraneous breaks following returns in dwarf2reader.cc. r=ted 2012-02-01 11:27:33 -08:00
Jim Blandy
b02524e3f2 Bug 714129: Add partial unit tests for dwarf2reader::CompilationUnit. r=ted
This is really incomplete --- it's just what's needed to get started
testing support for the DWARF 4 attribute forms.
2012-02-01 11:27:33 -08:00
Benjamin Smedberg
7cf5500909 Bug 716638 - Annotate the size of a failed allocation due to OOM and submit it with the crash report, r=ted
--HG--
extra : rebase_source : 5b7d10cb2e117deabb89b75ec3f3b1a221b3c80b
2012-01-24 11:08:51 -05:00
Ted Mielczarek
481e5ddf44 Rename Breakpad's md5.c to md5.cc, wrap its functions in the google_breakpad namespace. no bug, r=mento at http://breakpad.appspot.com/322003/show
--HG--
rename : toolkit/crashreporter/google-breakpad/src/common/md5.c => toolkit/crashreporter/google-breakpad/src/common/md5.cc
2011-11-21 12:40:25 -05:00
Gregory Szorc
de5e3e4887 Bug 698248 - Remove unused FORCE_USE_PIC variable; r=khuey 2011-11-01 15:45:23 -07:00
Felix Fung
9bb0edf799 Bug 577266 - Correct misspellings in source code 2011-09-06 17:20:35 -07:00
Rafael Ávila de Espíndola
a8c970acc2 Bug 680277 - Debug builds should always be compiled with frame pointers. r=khuey.
This patch creates a new MOZ_FRAMEPTR_FLAGS variable that is used only to
control the frame pointer flags passed to the compiler. It also computes this
flag in a macro so that the toplevel configure and js/src/configure stay in
sync.
2011-09-03 13:36:18 -04:00
Ehsan Akhgari
20af295975 Keep changeset 7ee51f8ea940 backed out on the reverted tree 2011-09-02 09:06:23 -04:00
Ehsan Akhgari
a171549936 Revert to changeset e6fc4594c22e which was the last one to get a green Win7 tp run 2011-09-02 09:03:08 -04:00
Rafael Ávila de Espíndola
e281bb7586 revert 11247af82311, e3626f903f9f and 7ee51f8ea940.
CLOSED TREE
2011-09-01 22:01:56 -04:00
Rafael Ávila de Espíndola
1ee04b6cea Bug 680277 - Change another use of MOZ_OPTIMIZE_FLAGS to MOZ_FRAMEPTR_FLAGS. r=khuey. 2011-09-01 16:43:50 -04:00
Rafael Ávila de Espíndola
7188250a96 Bug 677641 - Fix c++0x initializer list error found by clang; r=ted
The first field in a MDLocationDescriptor is a u_int32_t, so change this cast to the correct type. This fixes an error newer clang versions find in c++ 0x mode.
See http://llvm.org/viewvc/llvm-project/?view=rev&revision=136181 for more
information.
2011-08-11 19:31:11 -04:00
Rafael Ávila de Espíndola
16b25f6187 Bug 677644: Fix c++0x initializer list error found by clang. (The process_id field is unsigned, so we need to cast it in c++0x.) r=ted 2011-08-11 11:15:08 -07:00
Mike Hommey
098183f48a Bug 677159 - Don't allow to include config/config.mk twice. r=khuey 2011-08-09 09:07:48 +02:00
Rafael Ávila de Espíndola
3c46ee73e5 b=675008 r=ted.mielczarek Fix builds that use ac_add_options --with-macos-sdk=/Developer/SDKs/MacOSX10.7.sdk ac_add_options --enable-macos-target=10.5 Before we were checking for the deployment target to decide if the ppc headers were available, but they are not in the 10.7 sdk, even if we are targeting 10.5. 2011-08-02 11:49:15 -04:00
Marco Bonardo
0dd7aa5da8 Merge mozilla-central and mozilla-inbound 2011-08-02 11:52:56 +02:00
Rafael Ávila de Espíndola
b5682064de bug 673789 - Fix Breakpad compilation on OS X 10.7 SDK by #ifdefing out PPC support when targeting 10.7. r=ted 2011-07-25 19:15:00 -04:00
Evan Shaw
114f8c6a2d bug 673072 - remove deprecated curl header curl/types.h from Breakpad includes. r=ted 2011-07-21 02:32:00 -04:00
Rafael Espindola
1e06946c84 b=674440, r=ted.mielczarek
Backport r819 from google-breakpad. This lets us build XUL without linking
libcrypto.dylib which is deprecated in 10.7.
2011-08-01 13:43:23 -04:00
Bill McCloskey
3381ade5a2 Bug 662646 - Avoid allocating memory in Windows crash handler (r=ted) 2011-07-08 14:43:16 -07:00
Bill McCloskey
f467a1aa00 Bug 662646 - Add API to register memory for inclusion in crash reports (r=ted) 2011-07-07 17:31:01 -07:00
Jacob Bramley
6d297c4c1a Bug 666918: Allow some routines to omit the frame pointer even with --enable-profiling. This will break call-graphs for these functions, but an --enable-profiling build won't work without it. [r=cjones] 2011-07-05 09:48:40 +01:00
Raymes Khoury
f6f5983096 Bug 537857 part 3 - Fix assert failure in dump_syms in some cases when the linker discarded symbols. r=ccountant,r=jimb 2011-06-28 08:25:49 +02:00
Alon Zakai
1089f5ea54 Bug 617115 - crashreporter fixes part. r=ted 2011-05-27 10:01:03 -07:00
Jason Duell
6651a096c6 Bug 534764. Allow separate NSPR logs if requested, in case of interleaving issues; r=mayhemer,wtc 2011-03-25 19:40:50 -04:00
Mike Hommey
3c47f2e08d Bug 637316 - Forgot replacement of memcmp with my_strncmp in part 2. r=me 2011-03-14 15:28:44 +01:00
Mike Hommey
abac84999e Bug 637316 part 2 - Merge adjacent mappings with the same name into one module in crash reporter. r=ted 2011-03-14 15:24:58 +01:00
Chris Jones
b9eea5ff65 Bug 633436: Work around an apparent gcc/gas quirk. r=vlad a=a 2011-02-16 16:43:30 -06:00
Ted Mielczarek
448825c6d2 bug 599301 - Make Breakpad include memory around instruction pointer in minidumps on older versions of Windows. r=mento, a=beltzner
--HG--
extra : rebase_source : c5fd538fdfb532eeed4c4265eb93a69bfac485aa
2011-01-28 11:57:08 -05:00
Rafael Ávila de Espíndola
79936aada6 Bug 623121 - Add constructor for CPPLanguage (which inherits from Language) to placate CLang; r=jimb a=bsmedberg
--HG--
extra : rebase_source : a3d601c4b67ac37cde6ebb02783510dcb04297b0
2011-01-21 14:11:35 -05:00
Rafael Ávila de Espíndola
345b6cc05f Bug 623119 - exception_raise_state exception_raise_state_identity have Duplicated parameter name thread_state_count; r=ted a=bsmedberg
--HG--
extra : rebase_source : 62bd5b0145dcb1cd9f3a8178c1ca66ab351f3eb8
2011-01-21 14:10:50 -05:00
Ted Mielczarek
6ed416f3ed Fix compiling some parts of Breakpad processor on Win32. Landing as part of bug 620974, reviewed and landed upstream. r=mento, a=testonly
--HG--
extra : rebase_source : b13c758010ab079f5f4d016b9041efec5338baa1
2011-01-12 14:13:53 -05:00
Ted Mielczarek
08157510ea bug 590961 - Allow generating minidumps from processes of differing CPU architecture. r=mento a=blocking-2.0 2010-12-16 17:56:27 -05:00
Ted Mielczarek
6978bec880 bug 589955 - Submit empty crash reports on Windows. r=mento, a=blocking2.0
--HG--
extra : rebase_source : e618f80046f7885a4a4d797579866c68d8c61a98
2010-12-15 11:34:55 -05:00
timeless@mozdev.org
a408fd8bb9 Bug 615534 warning: operation ++ on 'i' may be undefined as i is used again in an argument to CopyIndexAfterObject in MinidumpGenerator::WriteMemoryListStream. r+a=ted 2010-11-30 15:44:36 +00:00
Ted Mielczarek
510d0e68ed bug 605832 - small Breakpad fixes to allow writing minidumps from the CrashGenerationServer callback. r=cjones a=blocking-fennec 2010-11-24 09:15:02 -05:00
Kyle Huey
f99c028f87 Bug 611930: Annotate crash reports with LSP information. r=ted sr=rs a=b 2010-11-21 19:29:47 -05:00
Kyle Huey
59a85eb583 Backed out changeset c8a4b4ed9160. a=me 2010-11-21 14:18:32 -05:00
Kyle Huey
698f4a7090 Bug 611930: Annotate crash reports with LSP information. r=ted sr=rs a=b 2010-11-21 13:58:33 -05:00
Benjamin Smedberg
53205f2ce6 Bug 599475 - Fix crash reporting on MacOS 10.5 (Leopard) by making breakpad use it's internal implementation of MD5 instead of one randomly picked from libnss or libcrypto which isn't loading properly. r=ted a=blocking-beta8+ 2010-11-20 16:58:47 -05:00
Ted Mielczarek
d90870c931 bug 610970 - fix Linux minidump writer to ignore mappings that are wholly contained within mappings provided by the API, r=mwu a=blocking-fennec 2010-11-10 08:05:31 -05:00