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
Justin Lebar
9dc9c4875e
Bug 720444 - Add amount of free physical memory and free space in the page file to Windows crash reports. r=ted
...
--HG--
extra : rebase_source : 62470172fbcb49f7a1d19c45a1a6bf5dbf46fb4c
2012-01-25 15:05:05 -05:00
Ali Juma
ace5ca0279
Bug 717951 - Allow AppendAppNotesToCrashReport to be called from off the main thread in the chrome process. r=ted
2012-01-25 09:43:52 -05: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
Till Schneidereit
67c06fca06
Bug 718518. Remove in-tree uses of the nonstandard third argument to String.prototype.replace. r=dcamp,jgriffin,dao,ted,dtownsend
2012-01-18 16:10:39 -05:00
Mike Hommey
567913809a
Bug 701371 - Rename mozutils to mozglue, and move it to top-level. r=khuey,a=brendan
...
--HG--
rename : memory/mozutils/Makefile.in => mozglue/Makefile.in
rename : memory/mozutils/Makefile.in => mozglue/build/Makefile.in
rename : memory/mozutils/dummy.cpp => mozglue/build/dummy.cpp
rename : memory/mozutils/fixcrt.py => mozglue/build/fixcrt.py
rename : memory/mozutils/mozutils.def.in => mozglue/build/mozglue.def.in
2011-12-28 08:24:02 +01:00
Nick Thomas
5a46c2d68a
Bug 693192 - Nightly builds infrequently fail with "make: *** [uploadsymbols] Error 50", r=ted
2012-01-10 14:36:05 +13:00
Jeff Walden
ec238d2c71
Bug 711799 - Fix a bunch of unused-variable warnings. r=dholbert
...
--HG--
extra : rebase_source : 91fc77dca316018652d4d99f6d4cc8d0f7195e6e
2011-12-18 01:00:42 -05:00
Ted Mielczarek
8a4658a3ec
bug 708453 - escape URLs before constructing NSURL. r=smichaud
2011-12-08 18:08:07 -05:00
Kyle Huey
bc5ecf4ab0
Merge m-c to b-s.
2011-11-29 16:31:01 -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
2426fb88be
Bug 688083 - Plugin Crash: Sync Submit Report Checkbox With Pref Between Instances. r=dolske
2011-10-03 13:26:08 -07:00
Benjamin Smedberg
7aaf9134dc
Bug 429592 part A - allow AnnotateCrashReport to be called from off the main thread in the chrome process, r=ted
...
--HG--
extra : rebase_source : b2aa9c90368ec702d6c8eaa295cbdd45f2596e6e
2011-10-06 16:33:21 -04:00
Ted Mielczarek
7929e57e68
Backed out changeset 2873fd694750 for build bustage on mac.
2011-11-21 13:54:32 -05:00
Ted Mielczarek
a5fcfce5b5
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
Ehsan Akhgari
2a602a5685
Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
...
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Jeff Walden
b7753477cf
Bug 693469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. (Exceptions: assigning to static initializers, use in static assertions, as template parameters, etc. These will go away when the relevant compilers have C++11 constexpr support.) r=cjones
...
--HG--
extra : rebase_source : b4bae9a0f85abf2feb828609b50e756916b99a6f
2011-10-10 22:50:08 -07:00
John Hopkins
f75b31ef55
Bug 685442 - Mac nightly builders keep failing (typically upload_symbols step). r=ted
2011-10-13 22:48:32 -07:00
Mike Hommey
14966259b2
Bug 677897 - Use objcopy from the NDK in symbolstore.py. r=ted
2011-10-06 09:08:14 +02:00
Josh Matthews
38471837d9
Bug 581341 - Part 6: Hack around an MSVC PGO bug. r=ted
2011-09-30 13:02:52 -04:00
Josh Matthews
4bca65a31f
Bug 581341 - Part 5: Test. r=ted
2011-06-08 16:21:20 -04:00
Josh Matthews
5ab94d451d
Bug 581341 - Part 3: Install child process exception handler before activating breakpad. r=bsmedberg
2011-06-23 19:30:31 -04:00
Josh Matthews
f19032cbb3
Bug 581341 - Part 2: Hook up CrashReporter functions to IPC. r=ted
2011-06-08 16:21:03 -04:00
Kyle Huey
051b464a36
Bug 687332: Fix up CrashSubmit.jsm. r=ted
2011-09-29 12:06:36 -04:00
Michael Wu
d8e503c38b
Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
...
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Ted Mielczarek
2e31bbbe25
bug 688877 - fix some usage of GetDlgItemText in Windows crashreporter. r=ehsan
2011-09-26 14:40:09 -04:00
Mike Hommey
b201a0ed20
Bug 688062 - Avoid linking the crash reporter against libmozutils. r=ted
2011-09-21 18:06:14 +02: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
Kyle Huey
21cdfe78c0
Merge m-c to b-s.
2011-07-22 00:03:35 -07: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
Dão Gottwald
f6dc008ef4
remove trailing space. DONTBUILD
...
--HG--
extra : rebase_source : 948e1959a7c7f36300248434fdb40fdde2960fc4
2011-07-21 05:28:28 +02:00
Josh Matthews
46f873c5ff
Bug 548667 - Future-proof CrashSubmit against future argument additions. r=ted
2011-07-20 17:52:13 -07:00
Josh Matthews
0f806c704b
Bug 548667 - Submit crash reports via FormData. r=ted
2011-07-20 17:51:55 -07: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
1e28f2359f
Bug 662646 - Tests for new crash report API (r=ted)
2011-07-07 17:31:11 -07:00