diff options
author | jimblandy <jimblandy@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2010-05-05 17:12:38 +0000 |
---|---|---|
committer | jimblandy <jimblandy@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2010-05-05 17:12:38 +0000 |
commit | b28be1254c0698cfd42a9abb910da3c94cf35a7f (patch) | |
tree | 3e87eba8f17fa930d0746e9af4457e95a35879cf /src/common/linux/dump_symbols.cc | |
parent | Breakpad Linux dumper: Make StabsReader independent of endianness and word size. (diff) | |
download | breakpad-b28be1254c0698cfd42a9abb910da3c94cf35a7f.tar.xz |
Breakpad Linux dumper: Rename DumpStabsHandler to StabsToModule.
All the other classes which receive debugging data from some sort of parser
and use it to populate a Module have names ending in "ToModule":
DwarfCUToModule, DwarfCFIToModule. Also, DumpStabsHandler doesn't actually
dump anything.
This patch renames the DumpStabsHandler class to StabsToModule, which is
more consistent and descriptive.
a=jimblandy, r=thestig
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@584 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src/common/linux/dump_symbols.cc')
-rw-r--r-- | src/common/linux/dump_symbols.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/common/linux/dump_symbols.cc b/src/common/linux/dump_symbols.cc index da4263f7..ec689ec6 100644 --- a/src/common/linux/dump_symbols.cc +++ b/src/common/linux/dump_symbols.cc @@ -48,23 +48,23 @@ #include "common/dwarf/bytereader-inl.h" #include "common/dwarf/dwarf2diehandler.h" -#include "common/dump_stabs.h" -#include "common/linux/dump_symbols.h" #include "common/dwarf_cfi_to_module.h" #include "common/dwarf_cu_to_module.h" #include "common/dwarf_line_to_module.h" +#include "common/linux/dump_symbols.h" #include "common/linux/file_id.h" #include "common/module.h" #include "common/stabs_reader.h" +#include "common/stabs_to_module.h" // This namespace contains helper functions. namespace { -using google_breakpad::DumpStabsHandler; using google_breakpad::DwarfCFIToModule; using google_breakpad::DwarfCUToModule; using google_breakpad::DwarfLineToModule; using google_breakpad::Module; +using google_breakpad::StabsToModule; // Fix offset into virtual address by adding the mapped base into offsets. // Make life easier when want to find something by offset. @@ -139,7 +139,7 @@ static bool LoadStabs(const ElfW(Ehdr) *elf_header, return false; } // A callback object to handle data from the STABS reader. - DumpStabsHandler handler(module); + StabsToModule handler(module); // Find the addresses of the STABS data, and create a STABS reader object. // On Linux, STABS entries always have 32-bit values, regardless of the // address size of the architecture whose code they're describing. |