diff options
author | jimblandy@gmail.com <jimblandy@gmail.com@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2009-08-07 19:28:45 +0000 |
---|---|---|
committer | jimblandy@gmail.com <jimblandy@gmail.com@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2009-08-07 19:28:45 +0000 |
commit | eab03fdb72a77dfd71db028e6e5676e734bdc443 (patch) | |
tree | 4e3c53bf0edcf6024695f6f876d54deb51c4b23e /src/tools | |
parent | Add files left behind by previous commit. (diff) | |
download | breakpad-eab03fdb72a77dfd71db028e6e5676e734bdc443.tar.xz |
Linux dumper: Move the data structures representing the breakpad data into their own class.
src/linux/common/module.h defines a new class, google_breakpad::Module,
that can represent the contents of a breakpad symbol file. Module::Write
writes a well-formed symbol file to the given stream.
src/linux/common/dump_symbols.cc can now lose its symbol-file-writing
code, and change DumpStabsHandler to populate a Module object, rather
than the old SymbolInfo/SourceFileInfo/... collection of types.
The code to compute function and line sizes, even in the absence of
reliable size data in STABS, is moved into a new Finalize method of
DumpStabsHandler, which is responsible for completing the Module's
contents.
a=jimblandy
r=nealsid
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@380 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src/tools')
-rw-r--r-- | src/tools/linux/dump_syms/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/tools/linux/dump_syms/Makefile b/src/tools/linux/dump_syms/Makefile index a5cf974a..59db7374 100644 --- a/src/tools/linux/dump_syms/Makefile +++ b/src/tools/linux/dump_syms/Makefile @@ -17,7 +17,7 @@ BIN=dump_syms all:$(BIN) DUMP_OBJ=dump_symbols.o guid_creator.o dump_syms.o file_id.o md5.o \ - stabs_reader.o + stabs_reader.o module.o dump_syms:$(DUMP_OBJ) $(CXX) $(CPPFLAGS) $(CXXFLAGS) -o $@ $^ @@ -28,6 +28,9 @@ dump_symbols.o:../../../common/linux/dump_symbols.cc stabs_reader.o:../../../common/linux/stabs_reader.cc $(CXX) $(CPPFLAGS) $(CXXFLAGS) -c $^ +module.o:../../../common/linux/module.cc + $(CXX) $(CPPFLAGS) $(CXXFLAGS) -c $^ + guid_creator.o:../../../common/linux/guid_creator.cc $(CXX) $(CPPFLAGS) $(CXXFLAGS) -c $^ |