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

Thu, 15 Jan 2015 21:03:48 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 21:03:48 +0100
branch
TOR_BUG_9701
changeset 11
deefc01c0e14
permissions
-rw-r--r--

Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)

     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