breakpad/src/common
jimblandy c5f5e0ae65 Breakpad Linux dumper: Don't map file into memory a second time just to compute file ID
At present, the Linux symbol dumper maps the ELF file into memory to
examine the debugging information it contains, but then also calls
google_breakpad::FileID::ElfFileIdentifier, which maps the ELF file into
memory again. Some of our object files are large; Mozilla's libxul.so is
1.1GiB. Trying to map such files twice can interfere with tools like
valgrind that map themselves into high addresses (in an attempt to stay out
of the way of ordinary programs).

The FileID class has another method, ElfFileIdentifierFromMappedFile, that
operates on an already-loaded image of the file; use that instead.

a=jimblandy, r=thestig


git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@625 4c0a9323-5329-0410-9bdc-e9ce6186880e
2010-07-17 05:08:04 +00:00
..
dwarf Fix a couple of tiny things for GCC pedantry 2010-07-08 15:30:17 +00:00
linux Breakpad Linux dumper: Don't map file into memory a second time just to compute file ID 2010-07-17 05:08:04 +00:00
mac Breakpad Mac symbol dumper: Unify with Linux dumper; support DWARF CFI. 2010-06-25 16:56:42 +00:00
solaris Breakpad: Update copyright notice years on all files changed in 2010. 2010-02-09 17:08:56 +00:00
testdata Breakpad Linux dumper: Make StabsReader independent of endianness and word size. 2010-05-05 17:09:20 +00:00
windows don't output duplicate filenames in PDBSourceLineWriter. r=mark at http://breakpad.appspot.com/43001 2009-11-23 14:50:55 +00:00
byte_cursor.h Breakpad symbol dumper: Define the ByteBuffer and ByteCursor classes. 2010-05-05 17:07:23 +00:00
byte_cursor_unittest.cc Breakpad symbol dumper: Define the ByteBuffer and ByteCursor classes. 2010-05-05 17:07:23 +00:00
convert_UTF.c Add unicode.org UTF-8/16/32 conversion code. 2006-12-15 00:03:27 +00:00
convert_UTF.h Add unicode.org UTF-8/16/32 conversion code. 2006-12-15 00:03:27 +00:00
dwarf_cfi_to_module.cc Breakpad Dumper: Move CFI register names to DwarfCFIToModule class. 2010-04-28 18:14:59 +00:00
dwarf_cfi_to_module.h Breakpad: Avoid using the C++ <cfoo> headers. 2010-06-25 16:57:07 +00:00
dwarf_cfi_to_module_unittest.cc Breakpad Dumper: Move CFI register names to DwarfCFIToModule class. 2010-04-28 18:14:59 +00:00
dwarf_cu_to_module.cc Fix a couple of tiny things for GCC pedantry 2010-07-08 15:30:17 +00:00
dwarf_cu_to_module.h Breakpad DWARF support: Stop #including unneeded headers. 2010-06-25 16:56:37 +00:00
dwarf_cu_to_module_unittest.cc Breakpad symbol dumper: Move Linux dumping classes into src/common. 2010-04-05 19:40:17 +00:00
dwarf_line_to_module.cc Breakpad symbol dumper: Move Linux dumping classes into src/common. 2010-04-05 19:40:17 +00:00
dwarf_line_to_module.h Breakpad symbol dumper: Move Linux dumping classes into src/common. 2010-04-05 19:40:17 +00:00
dwarf_line_to_module_unittest.cc Breakpad symbol dumper: Move Linux dumping classes into src/common. 2010-04-05 19:40:17 +00:00
language.cc Breakpad symbol dumper: Move Linux dumping classes into src/common. 2010-04-05 19:40:17 +00:00
language.h Breakpad symbol dumper: Move Linux dumping classes into src/common. 2010-04-05 19:40:17 +00:00
md5.c Solaris version of symbol dumper (#207). Patch by Alfred Peng. r=me 2007-09-28 18:14:48 +00:00
md5.h Solaris version of symbol dumper (#207). Patch by Alfred Peng. r=me 2007-09-28 18:14:48 +00:00
module.cc Remove duplicate FUNC entries from dump_syms output. 2010-07-13 18:14:27 +00:00
module.h Remove duplicate FUNC entries from dump_syms output. 2010-07-13 18:14:27 +00:00
module_unittest.cc Remove duplicate FUNC entries from dump_syms output. 2010-07-13 18:14:27 +00:00
stabs_reader.cc Breakpad Linux dumper: Handle STABS-in-symbol-table, and line number records outside functions. 2010-05-05 17:34:19 +00:00
stabs_reader.h Breakpad Linux dumper: Handle STABS-in-symbol-table, and line number records outside functions. 2010-05-05 17:34:19 +00:00
stabs_reader_unittest.cc Breakpad Mac symbol dumper: Add new Mach-O reader class. 2010-06-25 16:56:16 +00:00
stabs_to_module.cc Remove duplicate FUNC entries from dump_syms output. 2010-07-13 18:14:27 +00:00
stabs_to_module.h Breakpad Linux dumper: Rename DumpStabsHandler to StabsToModule. 2010-05-05 17:12:38 +00:00
stabs_to_module_unittest.cc Remove duplicate FUNC entries from dump_syms output. 2010-07-13 18:14:27 +00:00
string_conversion.cc issue 238 - missing includes compiling with gcc 4.3. patch by taras glek, r=me 2008-02-24 21:04:51 +00:00
string_conversion.h Solaris port of minidump generator. Port by Alfred Peng. r=me 2007-08-07 21:16:45 +00:00
test_assembler.cc Breakpad: Avoid using the C++ <cfoo> headers. 2010-06-25 16:57:07 +00:00
test_assembler.h Breakpad Mac symbol dumper: Add new Mach-O reader class. 2010-06-25 16:56:16 +00:00
test_assembler_unittest.cc Breakpad unit tests: Add support for clipped-size null-terminated strings 2010-05-05 17:37:58 +00:00