breakpad/src/common/linux
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
..
dump_symbols.cc 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
dump_symbols.h Add functionality to read the .gnu_debuglink section and load symbols from a debug ELF file. 2010-07-16 00:43:42 +00:00
eintr_wrapper.h Breakpad: Update copyright notice years on all files changed in 2010. 2010-02-09 17:08:56 +00:00
file_id_unittest.cc Issue 357: New Linux file_id code doesn't persist across strip. r=agl,nealsid at http://breakpad.appspot.com/49008 2009-12-23 17:09:27 +00:00
file_id.cc Breakpad: Avoid using the C++ <cfoo> headers. 2010-06-25 16:57:07 +00:00
file_id.h Issue 357: New Linux file_id code doesn't persist across strip. r=agl,nealsid at http://breakpad.appspot.com/49008 2009-12-23 17:09:27 +00:00
google_crashdump_uploader_test.cc New uploader for Linux with unit tests, and gflags/glog libraries 2009-09-29 21:55:19 +00:00
google_crashdump_uploader.cc Remove LOG statements from linux utilities so there's no dependency on log library 2010-05-27 19:37:24 +00:00
google_crashdump_uploader.h New uploader for Linux with unit tests, and gflags/glog libraries 2009-09-29 21:55:19 +00:00
guid_creator.cc Breakpad: Avoid using the C++ <cfoo> headers. 2010-06-25 16:57:07 +00:00
guid_creator.h Add Linux exception handler. 2007-03-12 01:53:18 +00:00
http_upload.cc Breakpad: Avoid using the C++ <cfoo> headers. 2010-06-25 16:57:07 +00:00
http_upload.h Issue 221 - HTTPUpload::SendRequest should provide error code or error description to callers. r=Liu Li 2007-11-02 12:22:35 +00:00
libcurl_wrapper.cc Remove LOG statements from linux utilities so there's no dependency on log library 2010-05-27 19:37:24 +00:00
libcurl_wrapper.h Breakpad: Avoid using the C++ <cfoo> headers. 2010-06-25 16:57:07 +00:00
linux_libc_support_unittest.cc Upstreaming several patches from Chrome: 2009-12-01 21:35:52 +00:00
linux_libc_support.h Merge of Breakpad Chrome Linux fork 2009-08-17 23:12:53 +00:00
linux_syscall_support.h Fix assembly in the ARM sys_clone implementation to indicate that r7 is clobbered, and also remove some extraneous semicolons from ARM portions of linux_syscall_support. r=jimb at https://bugzilla.mozilla.org/show_bug.cgi?id=555674 2010-04-29 18:24:04 +00:00
memory_unittest.cc Upstreaming several patches from Chrome: 2009-12-01 21:35:52 +00:00
memory.h Upstreaming several patches from Chrome: 2009-12-01 21:35:52 +00:00