diff options
author | jimblandy@gmail.com <jimblandy@gmail.com@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2009-07-30 17:39:42 +0000 |
---|---|---|
committer | jimblandy@gmail.com <jimblandy@gmail.com@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2009-07-30 17:39:42 +0000 |
commit | e0a251236906b84e87ee56c91cf3b1e0c4fd91dc (patch) | |
tree | 582bc6196c706e9b172f7749471c3e2179df4dc0 /src/breakpad_googletest_includes.h | |
parent | Linux dumper: Use a sorted array of addresses in computing function and line ... (diff) | |
download | breakpad-e0a251236906b84e87ee56c91cf3b1e0c4fd91dc.tar.xz |
Linux dumper: Use pointers to SourceFileInfo structures.
Use a list of pointers to SourceFileInfo structures, not a list of the
structures themselves. This is preparation for a subsequent patch
which makes the data structures less STABS-specific.
This patch introduces a memory leak. If an included file is
referenced only by line entries for functions that LoadFuncSymbols
elected to omit from the func_info list, then its SourceFileInfo
structure is leaked when we destroy the name_to_file map. This leak
is fixed in a subsequent patch by letting the map of files by name own
the file objects.
a=jimblandy
r=nealsid
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@368 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src/breakpad_googletest_includes.h')
0 files changed, 0 insertions, 0 deletions