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

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/toolkit/crashreporter/breakpad-patches/09-bug779291.patch	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,27 @@
     1.4 +changeset:   124512:8b366545161d
     1.5 +user:        Julian Seward <jseward@acm.org>
     1.6 +date:        Sun Mar 10 23:00:23 2013 +0100
     1.7 +summary:     Bug 779291: Implement SPS stackwalk using the breakpad unwinder. r=bgirard,glandium
     1.8 +
     1.9 +diff --git a/src/common/linux/dump_symbols.cc b/src/common/linux/dump_symbols.cc
    1.10 +--- a/src/common/linux/dump_symbols.cc
    1.11 ++++ b/src/common/linux/dump_symbols.cc
    1.12 +@@ -621,17 +621,17 @@ bool LoadSymbols(const string& obj_file,
    1.13 +       bool result =
    1.14 +           LoadDwarfCFI<ElfClass>(obj_file, elf_header, ".eh_frame",
    1.15 +                                  eh_frame_section, true,
    1.16 +                                  got_section, text_section, big_endian, module);
    1.17 +       found_usable_info = found_usable_info || result;
    1.18 +     }
    1.19 +   }
    1.20 + 
    1.21 +-  if (!found_debug_info_section) {
    1.22 ++  if (!found_debug_info_section && symbol_data != ONLY_CFI) {
    1.23 +     fprintf(stderr, "%s: file contains no debugging information"
    1.24 +             " (no \".stab\" or \".debug_info\" sections)\n",
    1.25 +             obj_file.c_str());
    1.26 + 
    1.27 +     // Failed, but maybe there's a .gnu_debuglink section?
    1.28 +     if (read_gnu_debug_link) {
    1.29 +       const Shdr* gnu_debuglink_section
    1.30 +           = FindElfSectionByName<ElfClass>(".gnu_debuglink", SHT_PROGBITS,

mercurial