diff options
author | waylonis <waylonis@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2007-01-24 00:28:24 +0000 |
---|---|---|
committer | waylonis <waylonis@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2007-01-24 00:28:24 +0000 |
commit | 4b987df62b8cf8eb529bff6a18d71a3832bf55c2 (patch) | |
tree | bac098f2214cbbd076cc59a30b01efbbe8cf6b1f /src/tools/mac/crash_report/on_demand_symbol_supplier.h | |
parent | Changes to support patch #108: (diff) | |
download | breakpad-4b987df62b8cf8eb529bff6a18d71a3832bf55c2.tar.xz |
Update crash_report tool and internal classes to reflect change to ProcessState (Issue #116)
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@110 4c0a9323-5329-0410-9bdc-e9ce6186880e
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 | 12 |
1 files changed, 5 insertions, 7 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 16ab7a49..0cd78f58 100644 --- a/src/tools/mac/crash_report/on_demand_symbol_supplier.h +++ b/src/tools/mac/crash_report/on_demand_symbol_supplier.h @@ -45,20 +45,17 @@ class MinidumpModule; class OnDemandSymbolSupplier : public SymbolSupplier { public: - // |architecture| should be one of ppc, i386, x86, ppc64, x86_64 // |search_dir| is the directory to search for alternative symbols with // the same name as the module in the minidump - OnDemandSymbolSupplier(const string &architecture, const string &search_dir); + OnDemandSymbolSupplier(const string &search_dir); virtual ~OnDemandSymbolSupplier() {} // Returns the path to the symbol file for the given module. - virtual SymbolResult GetSymbolFile(const CodeModule *module, + virtual SymbolResult GetSymbolFile(const CodeModule *module, + const SystemInfo *system_info, string *symbol_file); protected: - // Return symbols for this architecture - string architecture_; - // Search directory string search_dir_; @@ -84,7 +81,8 @@ class OnDemandSymbolSupplier : public SymbolSupplier { // Generate the airbag symbol file for |module|. Return true if successful. // File is generated in /tmp. - bool GenerateSymbolFile(const CodeModule *module); + bool GenerateSymbolFile(const CodeModule *module, + const SystemInfo *system_info); }; } // namespace google_airbag |