diff options
Diffstat (limited to 'src/tools/mac/crash_report/on_demand_symbol_supplier.h')
-rw-r--r-- | src/tools/mac/crash_report/on_demand_symbol_supplier.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/tools/mac/crash_report/on_demand_symbol_supplier.h b/src/tools/mac/crash_report/on_demand_symbol_supplier.h index 0c3ebff9..9c0e8b78 100644 --- a/src/tools/mac/crash_report/on_demand_symbol_supplier.h +++ b/src/tools/mac/crash_report/on_demand_symbol_supplier.h @@ -47,7 +47,7 @@ class OnDemandSymbolSupplier : public SymbolSupplier { public: // |search_dir| is the directory to search for alternative symbols with // the same name as the module in the minidump - OnDemandSymbolSupplier(const string &search_dir, + OnDemandSymbolSupplier(const string &search_dir, const string &symbol_search_dir); virtual ~OnDemandSymbolSupplier() {} @@ -56,11 +56,16 @@ class OnDemandSymbolSupplier : public SymbolSupplier { const SystemInfo *system_info, string *symbol_file); + // Returns the path to the symbol file for the given module. + virtual SymbolResult GetSymbolFile(const CodeModule *module, + const SystemInfo *system_info, + string *symbol_file, + string *symbol_data); protected: // Search directory string search_dir_; string symbol_search_dir_; - + // When we create a symbol file for a module, save the name of the module // and the path to that module's symbol file. map<string, string> module_file_map_; |