Breakpad Linux dumper: Don't map file into memory a second time just to compute file ID
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: 7939527bf0a06ad24ad020f729d5600cb42ed5d7@625 4c0a9323-5329-0410-9bdc-e9ce6186880e

colesbury/google-breakpad,bbcallen/google-breakpad,mhoran/google-breakpad,albertz/google-breakpad,bittorrent/breakpad,bbcallen/google-breakpad,colesbury/google-breakpad,wesen/google-breakpad,Quiark/google-breakpad,colesbury/google-breakpad,albertz/google-breakpad,AlekSi/google-breakpad-mirror,mhoran/google-breakpad,colesbury/google-breakpad,wesen/google-breakpad,colesbury/google-breakpad,albertz/google-breakpad,Quiark/google-breakpad,Quiark/google-breakpad,mhoran/google-breakpad,bbcallen/google-breakpad,bittorrent/breakpad,mhoran/google-breakpad,AlekSi/google-breakpad-mirror,albertz/google-breakpad,hkratz/breakpad_track_svn,hkratz/breakpad_track_svn,bbcallen/google-breakpad,albertz/google-breakpad,mhoran/google-breakpad,AlekSi/google-breakpad-mirror,wesen/google-breakpad,colesbury/google-breakpad,wesen/google-breakpad,bittorrent/breakpad,albertz/google-breakpad,hkratz/breakpad_track_svn,AlekSi/google-breakpad-mirror,wesen/google-breakpad,hkratz/breakpad_track_svn,Quiark/google-breakpad,bittorrent/breakpad,bbcallen/google-breakpad,wesen/google-breakpad,Quiark/google-breakpad,bbcallen/google-breakpad,bittorrent/breakpad,hkratz/breakpad_track_svn,Quiark/google-breakpad,hkratz/breakpad_track_svn,bittorrent/breakpad,bittorrent/breakpad,mhoran/google-breakpad,AlekSi/google-breakpad-mirror