aboutsummaryrefslogtreecommitdiff
path: root/src/common/dwarf_cu_to_module.h
diff options
context:
space:
mode:
authorSterling Augustine <saugustine@google.com>2020-06-30 13:59:15 -0700
committerSterling Augustine <saugustine@google.com>2020-07-14 00:46:58 +0000
commita7410275336a40323bac607a3aac97cc2a1fc491 (patch)
treebb6735781d669611b130e9fe59dbfa9974e548d4 /src/common/dwarf_cu_to_module.h
parentMove GetSectionByName out of CompilationUnit. (diff)
downloadbreakpad-a7410275336a40323bac607a3aac97cc2a1fc491.tar.xz
Add support for dwarf5 line tables.
Change-Id: I2c0cd0e7163502e52fbf0745b611befb2e219071 Reviewed-on: https://chromium-review.googlesource.com/c/breakpad/breakpad/+/2276193 Reviewed-by: Sterling Augustine <saugustine@google.com>
Diffstat (limited to 'src/common/dwarf_cu_to_module.h')
-rw-r--r--src/common/dwarf_cu_to_module.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/common/dwarf_cu_to_module.h b/src/common/dwarf_cu_to_module.h
index 2153bd96..b948aec7 100644
--- a/src/common/dwarf_cu_to_module.h
+++ b/src/common/dwarf_cu_to_module.h
@@ -158,7 +158,11 @@ class DwarfCUToModule: public dwarf2reader::RootDIEHandler {
// mappings, given a pointer to some DWARF line number data
// PROGRAM, and an overestimate of its size. Add no zero-length
// lines to LINES.
- virtual void ReadProgram(const uint8_t *program, uint64_t length,
+ virtual void ReadProgram(const uint8_t* program, uint64_t length,
+ const uint8_t* string_section,
+ uint64_t string_section_length,
+ const uint8_t* line_string_section,
+ uint64_t line_string_length,
Module *module, vector<Module::Line> *lines) = 0;
};