toolkit/crashreporter/breakpad-patches/09-bug779291.patch

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

michael@0 1 changeset: 124512:8b366545161d
michael@0 2 user: Julian Seward <jseward@acm.org>
michael@0 3 date: Sun Mar 10 23:00:23 2013 +0100
michael@0 4 summary: Bug 779291: Implement SPS stackwalk using the breakpad unwinder. r=bgirard,glandium
michael@0 5
michael@0 6 diff --git a/src/common/linux/dump_symbols.cc b/src/common/linux/dump_symbols.cc
michael@0 7 --- a/src/common/linux/dump_symbols.cc
michael@0 8 +++ b/src/common/linux/dump_symbols.cc
michael@0 9 @@ -621,17 +621,17 @@ bool LoadSymbols(const string& obj_file,
michael@0 10 bool result =
michael@0 11 LoadDwarfCFI<ElfClass>(obj_file, elf_header, ".eh_frame",
michael@0 12 eh_frame_section, true,
michael@0 13 got_section, text_section, big_endian, module);
michael@0 14 found_usable_info = found_usable_info || result;
michael@0 15 }
michael@0 16 }
michael@0 17
michael@0 18 - if (!found_debug_info_section) {
michael@0 19 + if (!found_debug_info_section && symbol_data != ONLY_CFI) {
michael@0 20 fprintf(stderr, "%s: file contains no debugging information"
michael@0 21 " (no \".stab\" or \".debug_info\" sections)\n",
michael@0 22 obj_file.c_str());
michael@0 23
michael@0 24 // Failed, but maybe there's a .gnu_debuglink section?
michael@0 25 if (read_gnu_debug_link) {
michael@0 26 const Shdr* gnu_debuglink_section
michael@0 27 = FindElfSectionByName<ElfClass>(".gnu_debuglink", SHT_PROGBITS,

mercurial