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.

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

mercurial