breakpad/src/common
jimblandy 56e7a3c65d Breakpad Linux Dumper: Have DumpStabsHandler free accumulated functions if Finalize is not called
The DumpStabsHandler class creates Module::Function objects as it processes
data from the StabsReader, but waits to add the Functions to the Module
until all parsing is complete and its Finalize member function is called,
so that it can compute line and function end addresses that the STABS data
may have left implicit.

If the DumpStabsHandler is destructed before its Finalize method is called,
it fails to free the Functions it has created, but not yet added to the
Module. (Adding a Function to a Module transfers ownership of the Function
to the Module.)

This adds a destructor to DumpStabsHandler which takes care of freeing any
Functions that it still owns.

a=jimblandy, r=thestig


git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@576 4c0a9323-5329-0410-9bdc-e9ce6186880e
2010-04-28 18:16:00 +00:00
..
dwarf Breakpad test support: Move test_assembler.{h,cc} from src/processor to src/common. 2010-04-27 19:17:59 +00:00
linux Breakpad Dumper: Move CFI register names to DwarfCFIToModule class. 2010-04-28 18:14:59 +00:00
mac Issue 39002: Breakpad DWARF parser: Move DWARF parser to platform-independent directory. 2009-12-15 17:06:21 +00:00
solaris Breakpad: Update copyright notice years on all files changed in 2010. 2010-02-09 17:08:56 +00:00
testdata Breakpad symbol dumper: Move Linux dumping classes into src/common. 2010-04-05 19:40:17 +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
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
dump_stabs.cc Breakpad Linux Dumper: Have DumpStabsHandler free accumulated functions if Finalize is not called 2010-04-28 18:16:00 +00:00
dump_stabs.h Breakpad Linux Dumper: Have DumpStabsHandler free accumulated functions if Finalize is not called 2010-04-28 18:16:00 +00:00
dump_stabs_unittest.cc Breakpad symbol dumper: Move Linux dumping classes into src/common. 2010-04-05 19:40:17 +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 Dumper: Move CFI register names to DwarfCFIToModule class. 2010-04-28 18:14:59 +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 Breakpad symbol dumper: Move Linux dumping classes into src/common. 2010-04-05 19:40:17 +00:00
dwarf_cu_to_module.h Breakpad symbol dumper: Move Linux dumping classes into src/common. 2010-04-05 19:40:17 +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 Breakpad symbol dumper: Move Linux dumping classes into src/common. 2010-04-05 19:40:17 +00:00
module.h Breakpad symbol dumper: Move Linux dumping classes into src/common. 2010-04-05 19:40:17 +00:00
module_unittest.cc Breakpad symbol dumper: Move Linux dumping classes into src/common. 2010-04-05 19:40:17 +00:00
stabs_reader.cc Breakpad symbol dumper: Move Linux dumping classes into src/common. 2010-04-05 19:40:17 +00:00
stabs_reader.h Breakpad symbol dumper: Move Linux dumping classes into src/common. 2010-04-05 19:40:17 +00:00
stabs_reader_unittest.cc Breakpad symbol dumper: Move Linux dumping classes into src/common. 2010-04-05 19:40:17 +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 test support: Move test_assembler.{h,cc} from src/processor to src/common. 2010-04-27 19:17:59 +00:00
test_assembler.h Breakpad test support: Move test_assembler.{h,cc} from src/processor to src/common. 2010-04-27 19:17:59 +00:00
test_assembler_unittest.cc Breakpad test support: Move test_assembler.{h,cc} from src/processor to src/common. 2010-04-27 19:17:59 +00:00