Tue, 06 Jan 2015 21:39:09 +0100
Conditionally force memory storage according to privacy.thirdparty.isolate;
This solves Tor bug #9701, complying with disk avoidance documented in
https://www.torproject.org/projects/torbrowser/design/#disk-avoidance.
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,