Commit Graph

324 Commits

Author SHA1 Message Date
Chris Manchester
d3b657984e Bug 1398897 - Move breakpad include munging to moz.build r=glandium
Unfortunately this also needs to be kept in Makefile.in to handle
other consumers of INCLUDES while we transition them.

MozReview-Commit-ID: 9OYlu6Jv1XZ

--HG--
extra : rebase_source : 719200501a93e836a03a64b5e1cd950a8f2e696a
2017-09-20 12:43:24 -07:00
Chris Manchester
c0a229d4c3 Bug 1386876 - Replace all uses of DISABLE_STL_WRAPPING with a template, remove DISABLE_STL_WRAPPING. r=glandium
MozReview-Commit-ID: FMEtb5PY7iP

--HG--
extra : rebase_source : 3cdee7528846462c758e623d6bcd2e6e17dbabff
2017-09-11 11:33:26 -07:00
Jim Chen
117a60442d Bug 1360321 - 1. Update linux_syscall_support.h in Breakpad; r=ted
The last update left out a couple lines that should have been taken out,
which only affected AArch64 builds.

MozReview-Commit-ID: 6PTz2y4U2iD
2017-05-17 13:06:21 -04:00
Jim Chen
055a903128 Bug 1360291 - Detect NDK version number; r=nalexander
Detect the NDK major/minor version numbers, and feed that to Breakpad.
For AArch64, some Breakpad headers try to workaround NDK oddities by
checking the ANDROID_NDK_MAJOR_VERSION and ANDROID_NDK_MINOR_VERSION
macros.
2017-05-04 19:19:31 -04:00
Gabriele Svelto
7b64f6d545 Bug 1319071 - Make crash minidumps use the same format for filenames on Linux as on other platforms; r=ted
This patch forks the breakpad files used for GUID generation and replaces them
with copies living together with the rest of the forked sources. Since other
files in the breakpad sources rely on the original files being present they
haven't been removed but we deliberately define their inclusion definitions in
the build system to prevent them from contributing to the build. This ensures
that we always use our own version of the GUID generator while not touching
the non-forked sources.

MozReview-Commit-ID: 5kW74yAPUDW

--HG--
rename : toolkit/crashreporter/google-breakpad/src/common/linux/guid_creator.cc => toolkit/crashreporter/breakpad-client/linux/handler/guid_generator.cc
rename : toolkit/crashreporter/google-breakpad/src/common/linux/guid_creator.h => toolkit/crashreporter/breakpad-client/linux/handler/guid_generator.h
extra : rebase_source : 60eb027258833996777469d2a13142077486bee9
2017-03-14 14:37:26 +01:00
Kartikaya Gupta
c001ceb787 Bug 1343625 - Catch and gracefully handle div-by-zero exceptions in get_undecoratedNameEx. r=ted
MozReview-Commit-ID: KpQ3Gz53O6j

--HG--
extra : rebase_source : a2e95ff30374ed10a0e6e96a64d5d342bc82ca1b
2017-03-03 14:18:50 -05:00
Ted Mielczarek
08da42ee56 bug 1336548 - fork breakpad src/client into toolkit/crashreporter/breakpad-client. r=gsvelto
The client portion of Breakpad is unmaintained upstream for Windows and OS X,
since Chromium has switched to Crashpad there. The Linux client still gets
fixes, but they're essentially all for ChromeOS support so they're not very
useful to us. This patch forks what is currently in
toolkit/crashreporter/google-breakpad/src/client into
toolkit/crashreporter/breakpad-client so we can make changes in mozilla-central
as needed without upstreaming them to a dead upstream.

This patch also changes the update-breakpad script to remove the src/client
directory when updating to a newer Breakpad revision.

A followup patch will remove unused files from the forked copy.

MozReview-Commit-ID: Fj4o2XjjkkD

--HG--
rename : toolkit/crashreporter/google-breakpad/src/client/apple/Framework/BreakpadDefines.h => toolkit/crashreporter/breakpad-client/apple/Framework/BreakpadDefines.h
rename : toolkit/crashreporter/google-breakpad/src/client/ios/Breakpad.h => toolkit/crashreporter/breakpad-client/ios/Breakpad.h
rename : toolkit/crashreporter/google-breakpad/src/client/ios/Breakpad.mm => toolkit/crashreporter/breakpad-client/ios/Breakpad.mm
rename : toolkit/crashreporter/google-breakpad/src/client/ios/Breakpad.xcodeproj/project.pbxproj => toolkit/crashreporter/breakpad-client/ios/Breakpad.xcodeproj/project.pbxproj
rename : toolkit/crashreporter/google-breakpad/src/client/ios/BreakpadController.h => toolkit/crashreporter/breakpad-client/ios/BreakpadController.h
rename : toolkit/crashreporter/google-breakpad/src/client/ios/BreakpadController.mm => toolkit/crashreporter/breakpad-client/ios/BreakpadController.mm
rename : toolkit/crashreporter/google-breakpad/src/client/ios/Breakpad_Prefix.pch => toolkit/crashreporter/breakpad-client/ios/Breakpad_Prefix.pch
rename : toolkit/crashreporter/google-breakpad/src/client/ios/handler/ios_exception_minidump_generator.h => toolkit/crashreporter/breakpad-client/ios/handler/ios_exception_minidump_generator.h
rename : toolkit/crashreporter/google-breakpad/src/client/ios/handler/ios_exception_minidump_generator.mm => toolkit/crashreporter/breakpad-client/ios/handler/ios_exception_minidump_generator.mm
rename : toolkit/crashreporter/google-breakpad/src/client/linux/crash_generation/client_info.h => toolkit/crashreporter/breakpad-client/linux/crash_generation/client_info.h
rename : toolkit/crashreporter/google-breakpad/src/client/linux/crash_generation/crash_generation_client.cc => toolkit/crashreporter/breakpad-client/linux/crash_generation/crash_generation_client.cc
rename : toolkit/crashreporter/google-breakpad/src/client/linux/crash_generation/crash_generation_client.h => toolkit/crashreporter/breakpad-client/linux/crash_generation/crash_generation_client.h
rename : toolkit/crashreporter/google-breakpad/src/client/linux/crash_generation/crash_generation_server.cc => toolkit/crashreporter/breakpad-client/linux/crash_generation/crash_generation_server.cc
rename : toolkit/crashreporter/google-breakpad/src/client/linux/crash_generation/crash_generation_server.h => toolkit/crashreporter/breakpad-client/linux/crash_generation/crash_generation_server.h
rename : toolkit/crashreporter/google-breakpad/src/client/linux/data/linux-gate-amd.sym => toolkit/crashreporter/breakpad-client/linux/data/linux-gate-amd.sym
rename : toolkit/crashreporter/google-breakpad/src/client/linux/data/linux-gate-intel.sym => toolkit/crashreporter/breakpad-client/linux/data/linux-gate-intel.sym
rename : toolkit/crashreporter/google-breakpad/src/client/linux/dump_writer_common/mapping_info.h => toolkit/crashreporter/breakpad-client/linux/dump_writer_common/mapping_info.h
rename : toolkit/crashreporter/google-breakpad/src/client/linux/dump_writer_common/raw_context_cpu.h => toolkit/crashreporter/breakpad-client/linux/dump_writer_common/raw_context_cpu.h
rename : toolkit/crashreporter/google-breakpad/src/client/linux/dump_writer_common/thread_info.cc => toolkit/crashreporter/breakpad-client/linux/dump_writer_common/thread_info.cc
rename : toolkit/crashreporter/google-breakpad/src/client/linux/dump_writer_common/thread_info.h => toolkit/crashreporter/breakpad-client/linux/dump_writer_common/thread_info.h
rename : toolkit/crashreporter/google-breakpad/src/client/linux/dump_writer_common/ucontext_reader.cc => toolkit/crashreporter/breakpad-client/linux/dump_writer_common/ucontext_reader.cc
rename : toolkit/crashreporter/google-breakpad/src/client/linux/dump_writer_common/ucontext_reader.h => toolkit/crashreporter/breakpad-client/linux/dump_writer_common/ucontext_reader.h
rename : toolkit/crashreporter/google-breakpad/src/client/linux/handler/exception_handler.cc => toolkit/crashreporter/breakpad-client/linux/handler/exception_handler.cc
rename : toolkit/crashreporter/google-breakpad/src/client/linux/handler/exception_handler.h => toolkit/crashreporter/breakpad-client/linux/handler/exception_handler.h
rename : toolkit/crashreporter/google-breakpad/src/client/linux/handler/exception_handler_unittest.cc => toolkit/crashreporter/breakpad-client/linux/handler/exception_handler_unittest.cc
rename : toolkit/crashreporter/google-breakpad/src/client/linux/handler/microdump_extra_info.h => toolkit/crashreporter/breakpad-client/linux/handler/microdump_extra_info.h
rename : toolkit/crashreporter/google-breakpad/src/client/linux/handler/minidump_descriptor.cc => toolkit/crashreporter/breakpad-client/linux/handler/minidump_descriptor.cc
rename : toolkit/crashreporter/google-breakpad/src/client/linux/handler/minidump_descriptor.h => toolkit/crashreporter/breakpad-client/linux/handler/minidump_descriptor.h
rename : toolkit/crashreporter/google-breakpad/src/client/linux/log/log.cc => toolkit/crashreporter/breakpad-client/linux/log/log.cc
rename : toolkit/crashreporter/google-breakpad/src/client/linux/log/log.h => toolkit/crashreporter/breakpad-client/linux/log/log.h
rename : toolkit/crashreporter/google-breakpad/src/client/linux/microdump_writer/microdump_writer.cc => toolkit/crashreporter/breakpad-client/linux/microdump_writer/microdump_writer.cc
rename : toolkit/crashreporter/google-breakpad/src/client/linux/microdump_writer/microdump_writer.h => toolkit/crashreporter/breakpad-client/linux/microdump_writer/microdump_writer.h
rename : toolkit/crashreporter/google-breakpad/src/client/linux/microdump_writer/microdump_writer_unittest.cc => toolkit/crashreporter/breakpad-client/linux/microdump_writer/microdump_writer_unittest.cc
rename : toolkit/crashreporter/google-breakpad/src/client/linux/minidump_writer/cpu_set.h => toolkit/crashreporter/breakpad-client/linux/minidump_writer/cpu_set.h
rename : toolkit/crashreporter/google-breakpad/src/client/linux/minidump_writer/cpu_set_unittest.cc => toolkit/crashreporter/breakpad-client/linux/minidump_writer/cpu_set_unittest.cc
rename : toolkit/crashreporter/google-breakpad/src/client/linux/minidump_writer/directory_reader.h => toolkit/crashreporter/breakpad-client/linux/minidump_writer/directory_reader.h
rename : toolkit/crashreporter/google-breakpad/src/client/linux/minidump_writer/directory_reader_unittest.cc => toolkit/crashreporter/breakpad-client/linux/minidump_writer/directory_reader_unittest.cc
rename : toolkit/crashreporter/google-breakpad/src/client/linux/minidump_writer/line_reader.h => toolkit/crashreporter/breakpad-client/linux/minidump_writer/line_reader.h
rename : toolkit/crashreporter/google-breakpad/src/client/linux/minidump_writer/line_reader_unittest.cc => toolkit/crashreporter/breakpad-client/linux/minidump_writer/line_reader_unittest.cc
rename : toolkit/crashreporter/google-breakpad/src/client/linux/minidump_writer/linux_core_dumper.cc => toolkit/crashreporter/breakpad-client/linux/minidump_writer/linux_core_dumper.cc
rename : toolkit/crashreporter/google-breakpad/src/client/linux/minidump_writer/linux_core_dumper.h => toolkit/crashreporter/breakpad-client/linux/minidump_writer/linux_core_dumper.h
rename : toolkit/crashreporter/google-breakpad/src/client/linux/minidump_writer/linux_core_dumper_unittest.cc => toolkit/crashreporter/breakpad-client/linux/minidump_writer/linux_core_dumper_unittest.cc
rename : toolkit/crashreporter/google-breakpad/src/client/linux/minidump_writer/linux_dumper.cc => toolkit/crashreporter/breakpad-client/linux/minidump_writer/linux_dumper.cc
rename : toolkit/crashreporter/google-breakpad/src/client/linux/minidump_writer/linux_dumper.h => toolkit/crashreporter/breakpad-client/linux/minidump_writer/linux_dumper.h
rename : toolkit/crashreporter/google-breakpad/src/client/linux/minidump_writer/linux_dumper_unittest_helper.cc => toolkit/crashreporter/breakpad-client/linux/minidump_writer/linux_dumper_unittest_helper.cc
rename : toolkit/crashreporter/google-breakpad/src/client/linux/minidump_writer/linux_ptrace_dumper.cc => toolkit/crashreporter/breakpad-client/linux/minidump_writer/linux_ptrace_dumper.cc
rename : toolkit/crashreporter/google-breakpad/src/client/linux/minidump_writer/linux_ptrace_dumper.h => toolkit/crashreporter/breakpad-client/linux/minidump_writer/linux_ptrace_dumper.h
rename : toolkit/crashreporter/google-breakpad/src/client/linux/minidump_writer/linux_ptrace_dumper_unittest.cc => toolkit/crashreporter/breakpad-client/linux/minidump_writer/linux_ptrace_dumper_unittest.cc
rename : toolkit/crashreporter/google-breakpad/src/client/linux/minidump_writer/minidump_writer.cc => toolkit/crashreporter/breakpad-client/linux/minidump_writer/minidump_writer.cc
rename : toolkit/crashreporter/google-breakpad/src/client/linux/minidump_writer/minidump_writer.h => toolkit/crashreporter/breakpad-client/linux/minidump_writer/minidump_writer.h
rename : toolkit/crashreporter/google-breakpad/src/client/linux/minidump_writer/minidump_writer_unittest.cc => toolkit/crashreporter/breakpad-client/linux/minidump_writer/minidump_writer_unittest.cc
rename : toolkit/crashreporter/google-breakpad/src/client/linux/minidump_writer/minidump_writer_unittest_utils.cc => toolkit/crashreporter/breakpad-client/linux/minidump_writer/minidump_writer_unittest_utils.cc
rename : toolkit/crashreporter/google-breakpad/src/client/linux/minidump_writer/minidump_writer_unittest_utils.h => toolkit/crashreporter/breakpad-client/linux/minidump_writer/minidump_writer_unittest_utils.h
rename : toolkit/crashreporter/google-breakpad/src/client/linux/minidump_writer/proc_cpuinfo_reader.h => toolkit/crashreporter/breakpad-client/linux/minidump_writer/proc_cpuinfo_reader.h
rename : toolkit/crashreporter/google-breakpad/src/client/linux/minidump_writer/proc_cpuinfo_reader_unittest.cc => toolkit/crashreporter/breakpad-client/linux/minidump_writer/proc_cpuinfo_reader_unittest.cc
rename : toolkit/crashreporter/google-breakpad/src/client/linux/moz.build => toolkit/crashreporter/breakpad-client/linux/moz.build
rename : toolkit/crashreporter/google-breakpad/src/client/linux/sender/google_crash_report_sender.cc => toolkit/crashreporter/breakpad-client/linux/sender/google_crash_report_sender.cc
rename : toolkit/crashreporter/google-breakpad/src/client/mac/Breakpad.xcodeproj/project.pbxproj => toolkit/crashreporter/breakpad-client/mac/Breakpad.xcodeproj/project.pbxproj
rename : toolkit/crashreporter/google-breakpad/src/client/mac/Framework/Breakpad.h => toolkit/crashreporter/breakpad-client/mac/Framework/Breakpad.h
rename : toolkit/crashreporter/google-breakpad/src/client/mac/Framework/Breakpad.mm => toolkit/crashreporter/breakpad-client/mac/Framework/Breakpad.mm
rename : toolkit/crashreporter/google-breakpad/src/client/mac/Framework/Breakpad_Prefix.pch => toolkit/crashreporter/breakpad-client/mac/Framework/Breakpad_Prefix.pch
rename : toolkit/crashreporter/google-breakpad/src/client/mac/Framework/Info.plist => toolkit/crashreporter/breakpad-client/mac/Framework/Info.plist
rename : toolkit/crashreporter/google-breakpad/src/client/mac/Framework/OnDemandServer.h => toolkit/crashreporter/breakpad-client/mac/Framework/OnDemandServer.h
rename : toolkit/crashreporter/google-breakpad/src/client/mac/Framework/OnDemandServer.mm => toolkit/crashreporter/breakpad-client/mac/Framework/OnDemandServer.mm
rename : toolkit/crashreporter/google-breakpad/src/client/mac/UnitTests-Info.plist => toolkit/crashreporter/breakpad-client/mac/UnitTests-Info.plist
rename : toolkit/crashreporter/google-breakpad/src/client/mac/crash_generation/ConfigFile.h => toolkit/crashreporter/breakpad-client/mac/crash_generation/ConfigFile.h
rename : toolkit/crashreporter/google-breakpad/src/client/mac/crash_generation/ConfigFile.mm => toolkit/crashreporter/breakpad-client/mac/crash_generation/ConfigFile.mm
rename : toolkit/crashreporter/google-breakpad/src/client/mac/crash_generation/Inspector.h => toolkit/crashreporter/breakpad-client/mac/crash_generation/Inspector.h
rename : toolkit/crashreporter/google-breakpad/src/client/mac/crash_generation/Inspector.mm => toolkit/crashreporter/breakpad-client/mac/crash_generation/Inspector.mm
rename : toolkit/crashreporter/google-breakpad/src/client/mac/crash_generation/InspectorMain.mm => toolkit/crashreporter/breakpad-client/mac/crash_generation/InspectorMain.mm
rename : toolkit/crashreporter/google-breakpad/src/client/mac/crash_generation/client_info.h => toolkit/crashreporter/breakpad-client/mac/crash_generation/client_info.h
rename : toolkit/crashreporter/google-breakpad/src/client/mac/crash_generation/crash_generation_client.cc => toolkit/crashreporter/breakpad-client/mac/crash_generation/crash_generation_client.cc
rename : toolkit/crashreporter/google-breakpad/src/client/mac/crash_generation/crash_generation_client.h => toolkit/crashreporter/breakpad-client/mac/crash_generation/crash_generation_client.h
rename : toolkit/crashreporter/google-breakpad/src/client/mac/crash_generation/crash_generation_server.cc => toolkit/crashreporter/breakpad-client/mac/crash_generation/crash_generation_server.cc
rename : toolkit/crashreporter/google-breakpad/src/client/mac/crash_generation/crash_generation_server.h => toolkit/crashreporter/breakpad-client/mac/crash_generation/crash_generation_server.h
rename : toolkit/crashreporter/google-breakpad/src/client/mac/crash_generation/moz.build => toolkit/crashreporter/breakpad-client/mac/crash_generation/moz.build
rename : toolkit/crashreporter/google-breakpad/src/client/mac/gcov/libgcov.a => toolkit/crashreporter/breakpad-client/mac/gcov/libgcov.a
rename : toolkit/crashreporter/google-breakpad/src/client/mac/handler/breakpad_nlist_64.cc => toolkit/crashreporter/breakpad-client/mac/handler/breakpad_nlist_64.cc
rename : toolkit/crashreporter/google-breakpad/src/client/mac/handler/breakpad_nlist_64.h => toolkit/crashreporter/breakpad-client/mac/handler/breakpad_nlist_64.h
rename : toolkit/crashreporter/google-breakpad/src/client/mac/handler/dynamic_images.cc => toolkit/crashreporter/breakpad-client/mac/handler/dynamic_images.cc
rename : toolkit/crashreporter/google-breakpad/src/client/mac/handler/dynamic_images.h => toolkit/crashreporter/breakpad-client/mac/handler/dynamic_images.h
rename : toolkit/crashreporter/google-breakpad/src/client/mac/handler/exception_handler.cc => toolkit/crashreporter/breakpad-client/mac/handler/exception_handler.cc
rename : toolkit/crashreporter/google-breakpad/src/client/mac/handler/exception_handler.h => toolkit/crashreporter/breakpad-client/mac/handler/exception_handler.h
rename : toolkit/crashreporter/google-breakpad/src/client/mac/handler/mach_vm_compat.h => toolkit/crashreporter/breakpad-client/mac/handler/mach_vm_compat.h
rename : toolkit/crashreporter/google-breakpad/src/client/mac/handler/minidump_generator.cc => toolkit/crashreporter/breakpad-client/mac/handler/minidump_generator.cc
rename : toolkit/crashreporter/google-breakpad/src/client/mac/handler/minidump_generator.h => toolkit/crashreporter/breakpad-client/mac/handler/minidump_generator.h
rename : toolkit/crashreporter/google-breakpad/src/client/mac/handler/minidump_test.xcodeproj/project.pbxproj => toolkit/crashreporter/breakpad-client/mac/handler/minidump_test.xcodeproj/project.pbxproj
rename : toolkit/crashreporter/google-breakpad/src/client/mac/handler/minidump_tests32-Info.plist => toolkit/crashreporter/breakpad-client/mac/handler/minidump_tests32-Info.plist
rename : toolkit/crashreporter/google-breakpad/src/client/mac/handler/minidump_tests64-Info.plist => toolkit/crashreporter/breakpad-client/mac/handler/minidump_tests64-Info.plist
rename : toolkit/crashreporter/google-breakpad/src/client/mac/handler/moz.build => toolkit/crashreporter/breakpad-client/mac/handler/moz.build
rename : toolkit/crashreporter/google-breakpad/src/client/mac/handler/obj-cTestCases-Info.plist => toolkit/crashreporter/breakpad-client/mac/handler/obj-cTestCases-Info.plist
rename : toolkit/crashreporter/google-breakpad/src/client/mac/handler/protected_memory_allocator.cc => toolkit/crashreporter/breakpad-client/mac/handler/protected_memory_allocator.cc
rename : toolkit/crashreporter/google-breakpad/src/client/mac/handler/protected_memory_allocator.h => toolkit/crashreporter/breakpad-client/mac/handler/protected_memory_allocator.h
rename : toolkit/crashreporter/google-breakpad/src/client/mac/handler/testcases/DynamicImagesTests.cc => toolkit/crashreporter/breakpad-client/mac/handler/testcases/DynamicImagesTests.cc
rename : toolkit/crashreporter/google-breakpad/src/client/mac/handler/testcases/DynamicImagesTests.h => toolkit/crashreporter/breakpad-client/mac/handler/testcases/DynamicImagesTests.h
rename : toolkit/crashreporter/google-breakpad/src/client/mac/handler/testcases/breakpad_nlist_test.cc => toolkit/crashreporter/breakpad-client/mac/handler/testcases/breakpad_nlist_test.cc
rename : toolkit/crashreporter/google-breakpad/src/client/mac/handler/testcases/breakpad_nlist_test.h => toolkit/crashreporter/breakpad-client/mac/handler/testcases/breakpad_nlist_test.h
rename : toolkit/crashreporter/google-breakpad/src/client/mac/handler/testcases/dwarftests.h => toolkit/crashreporter/breakpad-client/mac/handler/testcases/dwarftests.h
rename : toolkit/crashreporter/google-breakpad/src/client/mac/handler/testcases/dwarftests.mm => toolkit/crashreporter/breakpad-client/mac/handler/testcases/dwarftests.mm
rename : toolkit/crashreporter/google-breakpad/src/client/mac/handler/testcases/testdata/dump_syms_dwarf_data => toolkit/crashreporter/breakpad-client/mac/handler/testcases/testdata/dump_syms_dwarf_data
rename : toolkit/crashreporter/google-breakpad/src/client/mac/handler/testcases/testdata/dump_syms_i386_breakpad.sym => toolkit/crashreporter/breakpad-client/mac/handler/testcases/testdata/dump_syms_i386_breakpad.sym
rename : toolkit/crashreporter/google-breakpad/src/client/mac/handler/ucontext_compat.h => toolkit/crashreporter/breakpad-client/mac/handler/ucontext_compat.h
rename : toolkit/crashreporter/google-breakpad/src/client/mac/sender/Breakpad.xib => toolkit/crashreporter/breakpad-client/mac/sender/Breakpad.xib
rename : toolkit/crashreporter/google-breakpad/src/client/mac/sender/English.lproj/InfoPlist.strings => toolkit/crashreporter/breakpad-client/mac/sender/English.lproj/InfoPlist.strings
rename : toolkit/crashreporter/google-breakpad/src/client/mac/sender/English.lproj/Localizable.strings => toolkit/crashreporter/breakpad-client/mac/sender/English.lproj/Localizable.strings
rename : toolkit/crashreporter/google-breakpad/src/client/mac/sender/ReporterIcon.graffle => toolkit/crashreporter/breakpad-client/mac/sender/ReporterIcon.graffle
rename : toolkit/crashreporter/google-breakpad/src/client/mac/sender/crash_report_sender-Info.plist => toolkit/crashreporter/breakpad-client/mac/sender/crash_report_sender-Info.plist
rename : toolkit/crashreporter/google-breakpad/src/client/mac/sender/crash_report_sender.h => toolkit/crashreporter/breakpad-client/mac/sender/crash_report_sender.h
rename : toolkit/crashreporter/google-breakpad/src/client/mac/sender/crash_report_sender.icns => toolkit/crashreporter/breakpad-client/mac/sender/crash_report_sender.icns
rename : toolkit/crashreporter/google-breakpad/src/client/mac/sender/crash_report_sender.m => toolkit/crashreporter/breakpad-client/mac/sender/crash_report_sender.m
rename : toolkit/crashreporter/google-breakpad/src/client/mac/sender/da.lproj/InfoPlist.strings => toolkit/crashreporter/breakpad-client/mac/sender/da.lproj/InfoPlist.strings
rename : toolkit/crashreporter/google-breakpad/src/client/mac/sender/da.lproj/Localizable.strings => toolkit/crashreporter/breakpad-client/mac/sender/da.lproj/Localizable.strings
rename : toolkit/crashreporter/google-breakpad/src/client/mac/sender/de.lproj/InfoPlist.strings => toolkit/crashreporter/breakpad-client/mac/sender/de.lproj/InfoPlist.strings
rename : toolkit/crashreporter/google-breakpad/src/client/mac/sender/de.lproj/Localizable.strings => toolkit/crashreporter/breakpad-client/mac/sender/de.lproj/Localizable.strings
rename : toolkit/crashreporter/google-breakpad/src/client/mac/sender/es.lproj/InfoPlist.strings => toolkit/crashreporter/breakpad-client/mac/sender/es.lproj/InfoPlist.strings
rename : toolkit/crashreporter/google-breakpad/src/client/mac/sender/es.lproj/Localizable.strings => toolkit/crashreporter/breakpad-client/mac/sender/es.lproj/Localizable.strings
rename : toolkit/crashreporter/google-breakpad/src/client/mac/sender/fr.lproj/InfoPlist.strings => toolkit/crashreporter/breakpad-client/mac/sender/fr.lproj/InfoPlist.strings
rename : toolkit/crashreporter/google-breakpad/src/client/mac/sender/fr.lproj/Localizable.strings => toolkit/crashreporter/breakpad-client/mac/sender/fr.lproj/Localizable.strings
rename : toolkit/crashreporter/google-breakpad/src/client/mac/sender/goArrow.png => toolkit/crashreporter/breakpad-client/mac/sender/goArrow.png
rename : toolkit/crashreporter/google-breakpad/src/client/mac/sender/it.lproj/InfoPlist.strings => toolkit/crashreporter/breakpad-client/mac/sender/it.lproj/InfoPlist.strings
rename : toolkit/crashreporter/google-breakpad/src/client/mac/sender/it.lproj/Localizable.strings => toolkit/crashreporter/breakpad-client/mac/sender/it.lproj/Localizable.strings
rename : toolkit/crashreporter/google-breakpad/src/client/mac/sender/ja.lproj/InfoPlist.strings => toolkit/crashreporter/breakpad-client/mac/sender/ja.lproj/InfoPlist.strings
rename : toolkit/crashreporter/google-breakpad/src/client/mac/sender/ja.lproj/Localizable.strings => toolkit/crashreporter/breakpad-client/mac/sender/ja.lproj/Localizable.strings
rename : toolkit/crashreporter/google-breakpad/src/client/mac/sender/nl.lproj/InfoPlist.strings => toolkit/crashreporter/breakpad-client/mac/sender/nl.lproj/InfoPlist.strings
rename : toolkit/crashreporter/google-breakpad/src/client/mac/sender/nl.lproj/Localizable.strings => toolkit/crashreporter/breakpad-client/mac/sender/nl.lproj/Localizable.strings
rename : toolkit/crashreporter/google-breakpad/src/client/mac/sender/no.lproj/InfoPlist.strings => toolkit/crashreporter/breakpad-client/mac/sender/no.lproj/InfoPlist.strings
rename : toolkit/crashreporter/google-breakpad/src/client/mac/sender/no.lproj/Localizable.strings => toolkit/crashreporter/breakpad-client/mac/sender/no.lproj/Localizable.strings
rename : toolkit/crashreporter/google-breakpad/src/client/mac/sender/sl.lproj/InfoPlist.strings => toolkit/crashreporter/breakpad-client/mac/sender/sl.lproj/InfoPlist.strings
rename : toolkit/crashreporter/google-breakpad/src/client/mac/sender/sl.lproj/Localizable.strings => toolkit/crashreporter/breakpad-client/mac/sender/sl.lproj/Localizable.strings
rename : toolkit/crashreporter/google-breakpad/src/client/mac/sender/sv.lproj/InfoPlist.strings => toolkit/crashreporter/breakpad-client/mac/sender/sv.lproj/InfoPlist.strings
rename : toolkit/crashreporter/google-breakpad/src/client/mac/sender/sv.lproj/Localizable.strings => toolkit/crashreporter/breakpad-client/mac/sender/sv.lproj/Localizable.strings
rename : toolkit/crashreporter/google-breakpad/src/client/mac/sender/tr.lproj/InfoPlist.strings => toolkit/crashreporter/breakpad-client/mac/sender/tr.lproj/InfoPlist.strings
rename : toolkit/crashreporter/google-breakpad/src/client/mac/sender/tr.lproj/Localizable.strings => toolkit/crashreporter/breakpad-client/mac/sender/tr.lproj/Localizable.strings
rename : toolkit/crashreporter/google-breakpad/src/client/mac/sender/uploader.h => toolkit/crashreporter/breakpad-client/mac/sender/uploader.h
rename : toolkit/crashreporter/google-breakpad/src/client/mac/sender/uploader.mm => toolkit/crashreporter/breakpad-client/mac/sender/uploader.mm
rename : toolkit/crashreporter/google-breakpad/src/client/mac/testapp/Controller.h => toolkit/crashreporter/breakpad-client/mac/testapp/Controller.h
rename : toolkit/crashreporter/google-breakpad/src/client/mac/testapp/Controller.m => toolkit/crashreporter/breakpad-client/mac/testapp/Controller.m
rename : toolkit/crashreporter/google-breakpad/src/client/mac/testapp/English.lproj/InfoPlist.strings => toolkit/crashreporter/breakpad-client/mac/testapp/English.lproj/InfoPlist.strings
rename : toolkit/crashreporter/google-breakpad/src/client/mac/testapp/English.lproj/MainMenu.xib => toolkit/crashreporter/breakpad-client/mac/testapp/English.lproj/MainMenu.xib
rename : toolkit/crashreporter/google-breakpad/src/client/mac/testapp/Info.plist => toolkit/crashreporter/breakpad-client/mac/testapp/Info.plist
rename : toolkit/crashreporter/google-breakpad/src/client/mac/testapp/TestClass.h => toolkit/crashreporter/breakpad-client/mac/testapp/TestClass.h
rename : toolkit/crashreporter/google-breakpad/src/client/mac/testapp/TestClass.mm => toolkit/crashreporter/breakpad-client/mac/testapp/TestClass.mm
rename : toolkit/crashreporter/google-breakpad/src/client/mac/testapp/bomb.icns => toolkit/crashreporter/breakpad-client/mac/testapp/bomb.icns
rename : toolkit/crashreporter/google-breakpad/src/client/mac/testapp/crashInMain => toolkit/crashreporter/breakpad-client/mac/testapp/crashInMain
rename : toolkit/crashreporter/google-breakpad/src/client/mac/testapp/crashduringload => toolkit/crashreporter/breakpad-client/mac/testapp/crashduringload
rename : toolkit/crashreporter/google-breakpad/src/client/mac/testapp/main.m => toolkit/crashreporter/breakpad-client/mac/testapp/main.m
rename : toolkit/crashreporter/google-breakpad/src/client/mac/tests/BreakpadFramework_Test.mm => toolkit/crashreporter/breakpad-client/mac/tests/BreakpadFramework_Test.mm
rename : toolkit/crashreporter/google-breakpad/src/client/mac/tests/crash_generation_server_test.cc => toolkit/crashreporter/breakpad-client/mac/tests/crash_generation_server_test.cc
rename : toolkit/crashreporter/google-breakpad/src/client/mac/tests/exception_handler_test.cc => toolkit/crashreporter/breakpad-client/mac/tests/exception_handler_test.cc
rename : toolkit/crashreporter/google-breakpad/src/client/mac/tests/minidump_generator_test.cc => toolkit/crashreporter/breakpad-client/mac/tests/minidump_generator_test.cc
rename : toolkit/crashreporter/google-breakpad/src/client/mac/tests/minidump_generator_test_helper.cc => toolkit/crashreporter/breakpad-client/mac/tests/minidump_generator_test_helper.cc
rename : toolkit/crashreporter/google-breakpad/src/client/mac/tests/spawn_child_process.h => toolkit/crashreporter/breakpad-client/mac/tests/spawn_child_process.h
rename : toolkit/crashreporter/google-breakpad/src/client/mac/tests/testlogging.h => toolkit/crashreporter/breakpad-client/mac/tests/testlogging.h
rename : toolkit/crashreporter/google-breakpad/src/client/minidump_file_writer-inl.h => toolkit/crashreporter/breakpad-client/minidump_file_writer-inl.h
rename : toolkit/crashreporter/google-breakpad/src/client/minidump_file_writer.cc => toolkit/crashreporter/breakpad-client/minidump_file_writer.cc
rename : toolkit/crashreporter/google-breakpad/src/client/minidump_file_writer.h => toolkit/crashreporter/breakpad-client/minidump_file_writer.h
rename : toolkit/crashreporter/google-breakpad/src/client/minidump_file_writer_unittest.cc => toolkit/crashreporter/breakpad-client/minidump_file_writer_unittest.cc
rename : toolkit/crashreporter/google-breakpad/src/client/moz.build => toolkit/crashreporter/breakpad-client/moz.build
rename : toolkit/crashreporter/google-breakpad/src/client/solaris/handler/Makefile => toolkit/crashreporter/breakpad-client/solaris/handler/Makefile
rename : toolkit/crashreporter/google-breakpad/src/client/solaris/handler/exception_handler.cc => toolkit/crashreporter/breakpad-client/solaris/handler/exception_handler.cc
rename : toolkit/crashreporter/google-breakpad/src/client/solaris/handler/exception_handler.h => toolkit/crashreporter/breakpad-client/solaris/handler/exception_handler.h
rename : toolkit/crashreporter/google-breakpad/src/client/solaris/handler/exception_handler_test.cc => toolkit/crashreporter/breakpad-client/solaris/handler/exception_handler_test.cc
rename : toolkit/crashreporter/google-breakpad/src/client/solaris/handler/minidump_generator.cc => toolkit/crashreporter/breakpad-client/solaris/handler/minidump_generator.cc
rename : toolkit/crashreporter/google-breakpad/src/client/solaris/handler/minidump_generator.h => toolkit/crashreporter/breakpad-client/solaris/handler/minidump_generator.h
rename : toolkit/crashreporter/google-breakpad/src/client/solaris/handler/minidump_test.cc => toolkit/crashreporter/breakpad-client/solaris/handler/minidump_test.cc
rename : toolkit/crashreporter/google-breakpad/src/client/solaris/handler/moz.build => toolkit/crashreporter/breakpad-client/solaris/handler/moz.build
rename : toolkit/crashreporter/google-breakpad/src/client/solaris/handler/solaris_lwp.cc => toolkit/crashreporter/breakpad-client/solaris/handler/solaris_lwp.cc
rename : toolkit/crashreporter/google-breakpad/src/client/solaris/handler/solaris_lwp.h => toolkit/crashreporter/breakpad-client/solaris/handler/solaris_lwp.h
rename : toolkit/crashreporter/google-breakpad/src/client/windows/breakpad_client.gyp => toolkit/crashreporter/breakpad-client/windows/breakpad_client.gyp
rename : toolkit/crashreporter/google-breakpad/src/client/windows/common/auto_critical_section.h => toolkit/crashreporter/breakpad-client/windows/common/auto_critical_section.h
rename : toolkit/crashreporter/google-breakpad/src/client/windows/common/ipc_protocol.h => toolkit/crashreporter/breakpad-client/windows/common/ipc_protocol.h
rename : toolkit/crashreporter/google-breakpad/src/client/windows/crash_generation/ReadMe.txt => toolkit/crashreporter/breakpad-client/windows/crash_generation/ReadMe.txt
rename : toolkit/crashreporter/google-breakpad/src/client/windows/crash_generation/client_info.cc => toolkit/crashreporter/breakpad-client/windows/crash_generation/client_info.cc
rename : toolkit/crashreporter/google-breakpad/src/client/windows/crash_generation/client_info.h => toolkit/crashreporter/breakpad-client/windows/crash_generation/client_info.h
rename : toolkit/crashreporter/google-breakpad/src/client/windows/crash_generation/crash_generation.gyp => toolkit/crashreporter/breakpad-client/windows/crash_generation/crash_generation.gyp
rename : toolkit/crashreporter/google-breakpad/src/client/windows/crash_generation/crash_generation_client.cc => toolkit/crashreporter/breakpad-client/windows/crash_generation/crash_generation_client.cc
rename : toolkit/crashreporter/google-breakpad/src/client/windows/crash_generation/crash_generation_client.h => toolkit/crashreporter/breakpad-client/windows/crash_generation/crash_generation_client.h
rename : toolkit/crashreporter/google-breakpad/src/client/windows/crash_generation/crash_generation_server.cc => toolkit/crashreporter/breakpad-client/windows/crash_generation/crash_generation_server.cc
rename : toolkit/crashreporter/google-breakpad/src/client/windows/crash_generation/crash_generation_server.h => toolkit/crashreporter/breakpad-client/windows/crash_generation/crash_generation_server.h
rename : toolkit/crashreporter/google-breakpad/src/client/windows/crash_generation/minidump_generator.cc => toolkit/crashreporter/breakpad-client/windows/crash_generation/minidump_generator.cc
rename : toolkit/crashreporter/google-breakpad/src/client/windows/crash_generation/minidump_generator.h => toolkit/crashreporter/breakpad-client/windows/crash_generation/minidump_generator.h
rename : toolkit/crashreporter/google-breakpad/src/client/windows/crash_generation/objs.mozbuild => toolkit/crashreporter/breakpad-client/windows/crash_generation/objs.mozbuild
rename : toolkit/crashreporter/google-breakpad/src/client/windows/handler/exception_handler.cc => toolkit/crashreporter/breakpad-client/windows/handler/exception_handler.cc
rename : toolkit/crashreporter/google-breakpad/src/client/windows/handler/exception_handler.gyp => toolkit/crashreporter/breakpad-client/windows/handler/exception_handler.gyp
rename : toolkit/crashreporter/google-breakpad/src/client/windows/handler/exception_handler.h => toolkit/crashreporter/breakpad-client/windows/handler/exception_handler.h
rename : toolkit/crashreporter/google-breakpad/src/client/windows/handler/objs.mozbuild => toolkit/crashreporter/breakpad-client/windows/handler/objs.mozbuild
rename : toolkit/crashreporter/google-breakpad/src/client/windows/sender/crash_report_sender.cc => toolkit/crashreporter/breakpad-client/windows/sender/crash_report_sender.cc
rename : toolkit/crashreporter/google-breakpad/src/client/windows/sender/crash_report_sender.gyp => toolkit/crashreporter/breakpad-client/windows/sender/crash_report_sender.gyp
rename : toolkit/crashreporter/google-breakpad/src/client/windows/sender/crash_report_sender.h => toolkit/crashreporter/breakpad-client/windows/sender/crash_report_sender.h
rename : toolkit/crashreporter/google-breakpad/src/client/windows/sender/objs.mozbuild => toolkit/crashreporter/breakpad-client/windows/sender/objs.mozbuild
rename : toolkit/crashreporter/google-breakpad/src/client/windows/tests/crash_generation_app/abstract_class.cc => toolkit/crashreporter/breakpad-client/windows/tests/crash_generation_app/abstract_class.cc
rename : toolkit/crashreporter/google-breakpad/src/client/windows/tests/crash_generation_app/abstract_class.h => toolkit/crashreporter/breakpad-client/windows/tests/crash_generation_app/abstract_class.h
rename : toolkit/crashreporter/google-breakpad/src/client/windows/tests/crash_generation_app/crash_generation_app.cc => toolkit/crashreporter/breakpad-client/windows/tests/crash_generation_app/crash_generation_app.cc
rename : toolkit/crashreporter/google-breakpad/src/client/windows/tests/crash_generation_app/crash_generation_app.gyp => toolkit/crashreporter/breakpad-client/windows/tests/crash_generation_app/crash_generation_app.gyp
rename : toolkit/crashreporter/google-breakpad/src/client/windows/tests/crash_generation_app/crash_generation_app.h => toolkit/crashreporter/breakpad-client/windows/tests/crash_generation_app/crash_generation_app.h
rename : toolkit/crashreporter/google-breakpad/src/client/windows/tests/crash_generation_app/crash_generation_app.ico => toolkit/crashreporter/breakpad-client/windows/tests/crash_generation_app/crash_generation_app.ico
rename : toolkit/crashreporter/google-breakpad/src/client/windows/tests/crash_generation_app/crash_generation_app.rc => toolkit/crashreporter/breakpad-client/windows/tests/crash_generation_app/crash_generation_app.rc
rename : toolkit/crashreporter/google-breakpad/src/client/windows/tests/crash_generation_app/resource.h => toolkit/crashreporter/breakpad-client/windows/tests/crash_generation_app/resource.h
rename : toolkit/crashreporter/google-breakpad/src/client/windows/tests/crash_generation_app/small.ico => toolkit/crashreporter/breakpad-client/windows/tests/crash_generation_app/small.ico
rename : toolkit/crashreporter/google-breakpad/src/client/windows/unittests/client_tests.gyp => toolkit/crashreporter/breakpad-client/windows/unittests/client_tests.gyp
rename : toolkit/crashreporter/google-breakpad/src/client/windows/unittests/crash_generation_server_test.cc => toolkit/crashreporter/breakpad-client/windows/unittests/crash_generation_server_test.cc
rename : toolkit/crashreporter/google-breakpad/src/client/windows/unittests/dump_analysis.cc => toolkit/crashreporter/breakpad-client/windows/unittests/dump_analysis.cc
rename : toolkit/crashreporter/google-breakpad/src/client/windows/unittests/dump_analysis.h => toolkit/crashreporter/breakpad-client/windows/unittests/dump_analysis.h
rename : toolkit/crashreporter/google-breakpad/src/client/windows/unittests/exception_handler_death_test.cc => toolkit/crashreporter/breakpad-client/windows/unittests/exception_handler_death_test.cc
rename : toolkit/crashreporter/google-breakpad/src/client/windows/unittests/exception_handler_nesting_test.cc => toolkit/crashreporter/breakpad-client/windows/unittests/exception_handler_nesting_test.cc
rename : toolkit/crashreporter/google-breakpad/src/client/windows/unittests/exception_handler_test.cc => toolkit/crashreporter/breakpad-client/windows/unittests/exception_handler_test.cc
rename : toolkit/crashreporter/google-breakpad/src/client/windows/unittests/exception_handler_test.h => toolkit/crashreporter/breakpad-client/windows/unittests/exception_handler_test.h
rename : toolkit/crashreporter/google-breakpad/src/client/windows/unittests/minidump_test.cc => toolkit/crashreporter/breakpad-client/windows/unittests/minidump_test.cc
rename : toolkit/crashreporter/google-breakpad/src/client/windows/unittests/testing.gyp => toolkit/crashreporter/breakpad-client/windows/unittests/testing.gyp
extra : rebase_source : 24f82cf7110b18ae6d11cc3d7f73bd0855a4eec0
2017-02-08 06:45:38 -05:00
Gabriele Svelto
d8f790fd1a Bug 1280470 - Build the breakpad stack-walking machinery r=ted 2016-06-27 16:51:07 +02:00
Gabriele Svelto
8cbbe7f4b5 Bug 1264367 - Upgrade breakpad to upstream revision 704f41ec901c419f8c321742114b415e6f5ceacc r=ted
* * *
Bug 1264367 - Accomodate for the new version of Breakpad
2016-10-05 11:46:07 +02:00
Wes Kocher
265355461f Backed out changeset 1adfbab318a6 (bug 1264367) for breaking crash stacks CLOSED TREE
--HG--
extra : amend_source : 3dc85338e38502f95b5f667babbd6cf0282c70d1
2016-10-03 14:50:27 -07:00
Gabriele Svelto
829aa6173a Bug 1264367 - Upgrade breakpad to upstream revision 704f41ec901c419f8c321742114b415e6f5ceacc r=ted 2016-10-03 13:43:28 +02:00
Phil Ringnalda
f6c298b36d Backed out changeset c85784c39e28 (bug 1280470) for depending on a backed out commit
CLOSED TREE
2016-09-15 19:16:17 -07:00
Phil Ringnalda
a6e7ea4e26 Backed out changeset af84ff6bfd7e (bug 1264367) for causing crash stacks to lack symbols
CLOSED TREE
2016-09-15 19:15:45 -07:00
Gabriele Svelto
42dba518c0 Bug 1280470 - Build the breakpad stack-walking machinery r=ted 2016-06-27 16:51:07 +02:00
Gabriele Svelto
6fc3c4e6fd Bug 1264367 - Upgrade breakpad to upstream revision 704f41ec901c419f8c321742114b415e6f5ceacc r=ted 2016-09-15 17:31:13 +02:00
Tom Tromey
5538d692d3 Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
This removes the unnecessary setting of c-basic-offset from all
python-mode files.

This was automatically generated using

    perl -pi -e 's/; *c-basic-offset: *[0-9]+//'

... on the affected files.

The bulk of these files are moz.build files but there a few others as
well.

MozReview-Commit-ID: 2pPf3DEiZqx

--HG--
extra : rebase_source : 0a7dcac80b924174a2c429b093791148ea6ac204
2016-07-14 10:16:42 -06:00
Ted Mielczarek
73ec0ca7ec bug 1283916 - Fix DWARF handling of inlined functions in namespaces. r=mento
Currently an inlined function in a namespace in DWARF will
be given a name comprised of just `namespace::`. This is due
to a logic error in ComputeQualifiedName, where it doesn't
handle an empty `unqualified_name` properly.

We apparently have a fair number of these in our Mac builds,
an example of the DWARF that's being mishandled looks like:
0x117eda40:     TAG_namespace [5] *
                 AT_name( "js" )
                 AT_decl_file( "../../dist/include/js/Utility.h" )
                 AT_decl_line( 35 )

0x11808500:         TAG_subprogram [251] *
                     AT_low_pc( 0x0000000002f12110 )
                     AT_high_pc( 0x0000000002f1216b )
                     AT_APPLE_omit_frame_ptr( 0x01 )
                     AT_frame_base( rsp )
                     AT_abstract_origin( {0x0000000011800a4f}"_ZN2js40TraceManuallyBarrieredGenericPointerEdgeEP8JSTracerPPNS_2gc4CellEPKc" )
                      AT_MIPS_linkage_name( "_ZN2js40TraceManuallyBarrieredGenericPointerEdgeEP8JSTracerPPNS_2gc4CellEPKc" )
                      AT_name( "TraceManuallyBarrieredGenericPointerEdge" )
                      AT_decl_file( "/builds/slave/rel-m-rel-m64_bld-000000000000/build/js/src/gc/Marking.cpp" )
                      AT_decl_line( 547 )
                      AT_external( 0x01 )
                      AT_APPLE_optimized( 0x01 )
                      AT_inline( DW_INL_inlined )

This turned a few instances of this in the file I was testing on into
`<name omitted>`, which seems to just be a symptom of the
"DW_AT_abstract_origin comes later in the file" issue. (Which is probably
also worth fixing given that it occurs some 29k times when dumping
symbols from Firefox's XUL binary, but it's a separate issue.)

R=mark@chromium.org
BUG=

Review URL: https://codereview.chromium.org/1887033002 .

MozReview-Commit-ID: L3cn5z4FY6M

--HG--
extra : rebase_source : 03ebda4cf2d1179b2180a2817137a5f600f7ad1a
2016-07-06 09:36:35 -04:00
Ting-Yu Chou
c7626aa7a5 Bug 1267329 - part 1 - Add a new argument to specify the minidump type to write on Windows. r=ted 2016-05-16 10:02:47 +08:00
Thomas Zimmermann
89ae3af487 Bug 1276927: Fix breakpad to build on B2G, r=mshal
This patch unifies the include search directories for the breakpad
on B2G and Android, and protects breakpad-internal workarounds against
multiple definition.

As a side-effect of the patch set, no more Gonk-specific headers from
'gonk-include' are requried to build toolkit/ or xpcom/. The related
artifacts are removed by this patch.

MozReview-Commit-ID: E94I2rspDtJ
2016-06-16 08:43:51 +01:00
Sebastian Hengst
277e158ff3 Backed out changeset a7cc17d184bd (bug 1276927) 2016-06-15 12:23:59 +02:00
Thomas Zimmermann
5693604fd0 Bug 1276927: Fix breakpad to build on B2G, r=mshal
This patch unifies the include search directories for the breakpad
on B2G and Android, and protects breakpad-internal workarounds against
multiple definition.

As a side-effect of the patch set, no more Gonk-specific headers from
'gonk-include' are requried to build toolkit/ or xpcom/. The related
artifacts are removed by this patch.

MozReview-Commit-ID: E94I2rspDtJ
2016-06-15 10:59:49 +01:00
Ralph Giles
abf915d42c Bug 1275630 - Update breakpad documentation links. r=ted
These locations have changed since the end of Google Code.

MozReview-Commit-ID: FSGhFBDaTCq

--HG--
extra : rebase_source : 4ef004b2d0b8f1a6331db0f44ccf70d05ad62774
2016-05-25 10:01:52 -07:00
Ted Mielczarek
bebd89cd61 bug 1272278 - Don't let PDBSourceLineWriter::GetSymbolFunctionName return empty function names. r=mento
It's possible for `IDiaSymbol::get_name` to return S_OK and provide
and empty string. I haven't figured out the exact root cause yet
(the symbols in question are coming from the Rust standard library),
but FUNC lines with missing function names break the processor and
so we should never do it. This change makes it output "<name omitted>"
which matches the behavior of the DWARF dumping code.

Review URL: https://codereview.chromium.org/1985643004 .

MozReview-Commit-ID: E8jZZM5KVtJ

--HG--
extra : rebase_source : 7236563a7a4bada7c7126cebd24f3551e70919ae
2016-05-16 12:37:58 -04:00
Chris Peterson
353ee65255 Bug 1272513 - Part 1: Suppress -Wshadow warnings-as-errors in some directories. r=glandium 2016-05-11 00:00:01 -07:00
Mike Shal
5ab92bb3fa Bug 1252804 - remove TARGET_LOCAL_INCLUDES; r=ted
MozReview-Commit-ID: 6s1SWINNMM9

--HG--
extra : rebase_source : 3c64cc907a41215be454ccae4230d3d216e097d9
2016-04-29 17:09:57 -04:00
Daniel Holbert
b84ccd903b Bug 1258269: Declare logging string-literals in exception_handler.cc as 'const char[]' to fix build warning & for consistency. r=ted
MozReview-Commit-ID: 9UDHiPJus0C

--HG--
extra : rebase_source : a1eda37de65b7d25b37291c993d5c0a369fe29fc
2016-03-20 23:35:13 -07:00
Birunthan Mohanathas
ec65f12dd8 Bug 623183 - Build dump_syms on Windows when using VS2015; r=ted
MozReview-Commit-ID: LCvipO5FXdR

--HG--
extra : source : e68a8c608182025bac53dcbb48b0c0d474931f90
extra : amend_source : 3113865fb4be93db6b51ce55514cd2a55e577df9
2016-03-08 14:07:28 -08:00
James Willcox
915320dbd0 Bug 1247399 - Put r7 in clobber registers for breakpad's sys_clone() r=glandium 2016-02-26 14:50:39 -06:00
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