diff options
author | jimblandy <jimblandy@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2010-01-23 01:20:55 +0000 |
---|---|---|
committer | jimblandy <jimblandy@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2010-01-23 01:20:55 +0000 |
commit | bc64ee962f7a3518a5d8fef96cda2ad325a19d23 (patch) | |
tree | df91026d623c9b012cea4fac6694d088e9b1bb31 /src/breakpad_googletest_includes.h | |
parent | Breakpad DWARF Reader: Change LineInfoHandler::AddLine to provide the line's ... (diff) | |
download | breakpad-bc64ee962f7a3518a5d8fef96cda2ad325a19d23.tar.xz |
Breakpad DWARF Parser: Improved DWARF-processing interface.
dwarf2reader::CompilationUnit is a simple and direct parser for DWARF
data, but its handler interface is not convenient to use. In
particular, the same handler object receives data about all DIEs
processed. One can't use distinct classes to separate the information
needed to handle different kinds of data.
This patch defines a new adapter type, dwarf2reader::DIEHandler, which
implements the existing DWARF parser's handler interface, given a
handler written to a more comfortable, object-orient interface. The
comments in dwarf2diehandler.h provide more detail.
a=jimblandy, r=ccoutant
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@495 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src/breakpad_googletest_includes.h')
0 files changed, 0 insertions, 0 deletions