diff options
author | Sterling Augustine <saugustine@google.com> | 2020-06-30 13:59:15 -0700 |
---|---|---|
committer | Sterling Augustine <saugustine@google.com> | 2020-07-14 00:46:58 +0000 |
commit | a7410275336a40323bac607a3aac97cc2a1fc491 (patch) | |
tree | bb6735781d669611b130e9fe59dbfa9974e548d4 /src/common/mac | |
parent | Move GetSectionByName out of CompilationUnit. (diff) | |
download | breakpad-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/mac')
-rw-r--r-- | src/common/mac/dump_syms.cc | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/common/mac/dump_syms.cc b/src/common/mac/dump_syms.cc index 3fbedd95..2734ff6f 100644 --- a/src/common/mac/dump_syms.cc +++ b/src/common/mac/dump_syms.cc @@ -344,10 +344,15 @@ class DumpSymbols::DumperLineToModule: compilation_dir_ = compilation_dir; } - void ReadProgram(const uint8_t *program, uint64_t length, - Module *module, vector<Module::Line> *lines) { + 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_section_length, + Module* module, vector<Module::Line>* lines) { DwarfLineToModule handler(module, compilation_dir_, lines); - dwarf2reader::LineInfo parser(program, length, byte_reader_, &handler); + dwarf2reader::LineInfo parser(program, length, byte_reader_, + nullptr, 0, nullptr, 0, &handler); parser.Start(); } private: |