diff options
author | jimblandy <jimblandy@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2010-07-17 05:08:04 +0000 |
---|---|---|
committer | jimblandy <jimblandy@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2010-07-17 05:08:04 +0000 |
commit | c5f5e0ae653c4acbc34325283a6d56475dd56f00 (patch) | |
tree | d95f72bd551c6f5c7d4ffeec5d530c52baad6238 /src/client/mac/Breakpad.xcodeproj/project.pbxproj | |
parent | Add functionality to read the .gnu_debuglink section and load symbols from a ... (diff) | |
download | breakpad-c5f5e0ae653c4acbc34325283a6d56475dd56f00.tar.xz |
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
Diffstat (limited to 'src/client/mac/Breakpad.xcodeproj/project.pbxproj')
0 files changed, 0 insertions, 0 deletions