From 8507f63d38371a217fd0d8dacc8bbfee8c41b187 Mon Sep 17 00:00:00 2001 From: "chrisha@chromium.org" Date: Wed, 1 May 2013 18:18:46 +0000 Subject: 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 --- src/common/windows/pdb_source_line_writer.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/common/windows/pdb_source_line_writer.h') 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 #include +#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 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&); -- cgit v1.2.1