aboutsummaryrefslogtreecommitdiff
path: root/src/google_airbag/processor/symbol_supplier.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/google_airbag/processor/symbol_supplier.h')
-rw-r--r--src/google_airbag/processor/symbol_supplier.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/google_airbag/processor/symbol_supplier.h b/src/google_airbag/processor/symbol_supplier.h
index d456174b..b5ced8ca 100644
--- a/src/google_airbag/processor/symbol_supplier.h
+++ b/src/google_airbag/processor/symbol_supplier.h
@@ -39,6 +39,7 @@ namespace google_airbag {
using std::string;
class CodeModule;
+class SystemInfo;
class SymbolSupplier {
public:
@@ -57,8 +58,12 @@ class SymbolSupplier {
virtual ~SymbolSupplier() {}
// Retrieves the symbol file for the given CodeModule, placing the
- // path in symbol_file if successful.
+ // path in symbol_file if successful. system_info contains strings
+ // identifying the operating system and CPU; SymbolSupplier may use to help
+ // locate the symbol file. system_info may be NULL or its fields may be
+ // empty if these values are unknown.
virtual SymbolResult GetSymbolFile(const CodeModule *module,
+ const SystemInfo *system_info,
string *symbol_file) = 0;
};