aboutsummaryrefslogtreecommitdiff
path: root/src/common/linux/dump_symbols.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/linux/dump_symbols.h')
-rw-r--r--src/common/linux/dump_symbols.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/common/linux/dump_symbols.h b/src/common/linux/dump_symbols.h
index 5422b1c8..e1a930ac 100644
--- a/src/common/linux/dump_symbols.h
+++ b/src/common/linux/dump_symbols.h
@@ -44,7 +44,10 @@ namespace google_breakpad {
// Find all the debugging information in OBJ_FILE, an ELF executable
// or shared library, and write it to SYM_FILE in the Breakpad symbol
// file format.
-bool WriteSymbolFile(const std::string &obj_file, FILE *sym_file);
+// If OBJ_FILE has been stripped but contains a .gnu_debuglink section,
+// then look for the debug file in DEBUG_DIR.
+bool WriteSymbolFile(const std::string &obj_file,
+ const std::string &debug_dir, FILE *sym_file);
} // namespace google_breakpad