Commit Graph

157 Commits

Author SHA1 Message Date
Mike Hommey
6173fa297f Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Mike Hommey
73793249ec Bug 689184 part 2 - Use the program PT_DYNAMIC segment for the MD_LINUX_DSO_DEBUG stream. r=ted 2012-07-25 07:43:22 +02:00
Mike Hommey
1a1bbdb5dc Bug 689184 part 1 - Keep ELF auxiliary vectors values within LinuxDumper. r=ted 2012-07-25 07:43:22 +02:00
Himanshu
ca927b693e Bug 710993 - Fix possible bad pointer/size mistake in HTTPUpload::SendRequest(). r=ted 2012-07-20 20:19:37 -04:00
Ted Mielczarek
f978c26876 bug 761907 - use sys_fstat64 on Android and gonk. r=upstream
--HG--
extra : rebase_source : 75b02da45b38bfa5ae7e48401b7c0715b65e9640
2012-07-16 14:11:11 -04:00
Ted Mielczarek
76459049ad bug 763621 - Fix a Breakpad issue, patch from upstream r792. r=upstream
--HG--
extra : rebase_source : 5f8c09fcc2172fe60b524e8e3d1026d35e7c95aa
2012-07-18 15:11:51 -04:00
Ehsan Akhgari
910d058e01 Merge mozilla-central into moizilla-inbound 2012-07-03 11:14:18 -04:00
Benjamin Smedberg
cc2ebeab8a Bug 769048 part C - Build an injector DLL which can watch for crashes in Flash player processes. This involves building two copies of breakpad: one to live inside of libxul which uses mozalloc and the dynamic CRT, another to link into the injector which links the CRT statically and doesn't use mozalloc. Introduce a new define/makefile variable MOZ_CRASHREPORTER_INJECTOR rather than repeating "#if defined(XP_WIN) && !defined(HAVE_64BIT_OS) in many places. r=ehsan/khuey
--HG--
extra : rebase_source : 33bd0a74ce70a564963a6ca125e01048577fb554
2012-07-02 14:55:12 -04:00
Benjamin Smedberg
e8f5ceb7da Bug 769048 part A - import breakpad changes from http://breakpad.appspot.com/406002 which allow the crash generation client to be initialized with a handle instead of a pipe name, r=ted
--HG--
extra : rebase_source : 5f51597eecc7b2c6fd1270fcec7c5cb008b6666c
2012-07-02 12:06:19 -04:00
Rafael Ávila de Espíndola
c60b1db79c Bug 732173 - poison write during shutdown in a debug build. r=ted.
With this patch we now patch the write functions during shutdown in a debug
build and abort if a non white listed write is found.
2012-07-03 09:15:34 -04:00
Gervase Markham
d4eb7d5782 Bug 759095 - upgrade license to MPL 2, and other licensing cleanups.
--HG--
extra : rebase_source : da55a4937383eda2baf7c9a362501da8ee664146
2012-05-29 16:52:43 +01:00
Mike Hommey
39e1457473 Bug 741348 - Work around crashreporter client build failure with gcc 4.7. r=ted 2012-05-15 19:01:01 +02:00
Nathan Froyd
14eeb930ab Bug 744444 - Part 3: delete CPP_PROG_LINK; r=ted 2012-04-12 16:58:11 -04:00
Nicholas Cameron
b056a47fa0 Bug 733892; block reverting to the null last chance expception handler. r=ehsan 2012-04-20 21:07:55 +12:00
Mike Hommey
d278e617c4 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
d7f0bfa25b ELFSIZE not defined on gonk-ics (bug 737190, r=gal). 2012-03-25 03:15:33 +02:00
Mike Hommey
bbafb50822 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
7bf6b46bc7 Backout changesets 923a278f7ad5, 8f0164c90145, f5171db26f48, 7b590e1e392c and bd9a2f904e1f (bug 716544) because of Linux red 2012-03-13 10:29:26 +01:00
Mike Hommey
93b5ece40e 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
330db9b35e 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
ec48e485cd Bug 721160 - Stop explicitly linking libcrypto on OS X. r=ted 2012-02-13 14:21:44 -06:00
Mike Hommey
818458fdc8 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
d5d3b67398 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
8180361621 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
7aa8b52f3f 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
3c82e7f486 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
d6db1bd0b7 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
f9737cefa1 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