diff options
author | chrisha@chromium.org <chrisha@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2013-05-01 18:18:46 +0000 |
---|---|---|
committer | chrisha@chromium.org <chrisha@chromium.org@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2013-05-01 18:18:46 +0000 |
commit | 8507f63d38371a217fd0d8dacc8bbfee8c41b187 (patch) | |
tree | 9c1a108fa07c4cb82fd99bb5c536915a3eae3377 /src/common/windows/pdb_source_line_writer.h | |
parent | Fixing a clang warning. (diff) | |
download | breakpad-8507f63d38371a217fd0d8dacc8bbfee8c41b187.tar.xz |
Add explicit OMAP support to dump_syms.
This CL adds new utilities to common/windows for handling OMAP information in
PDB files. It then augments PdbSourceLineWriter with explicit OMAP knowledge so
that symbolization will proceed more cleanly for images whose PDB files contain
OMAP information. This makes breakpad handle OMAPped symbol files as cleanly as
WinDbg.
Review URL: https://breakpad.appspot.com/570002/
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1167 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src/common/windows/pdb_source_line_writer.h')
-rw-r--r-- | src/common/windows/pdb_source_line_writer.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/common/windows/pdb_source_line_writer.h b/src/common/windows/pdb_source_line_writer.h index ef2a27db..be6121c3 100644 --- a/src/common/windows/pdb_source_line_writer.h +++ b/src/common/windows/pdb_source_line_writer.h @@ -38,6 +38,8 @@ #include <hash_map> #include <string> +#include "common/windows/omap.h" + struct IDiaEnumLineNumbers; struct IDiaSession; struct IDiaSymbol; @@ -228,6 +230,9 @@ class PDBSourceLineWriter { // This maps unique filenames to file IDs. hash_map<wstring, DWORD> unique_files_; + // This is used for calculating post-transform symbol addresses and lengths. + ImageMap image_map_; + // Disallow copy ctor and operator= PDBSourceLineWriter(const PDBSourceLineWriter&); void operator=(const PDBSourceLineWriter&); |