mirror of
https://git.suyu.dev/suyu/breakpad.git
synced 2026-01-02 04:34:47 +01:00
Add INLINE and INLINE_ORIGIN records to symbol file.
The size of symbol file for chrome binary increased from 577 MB to 1205 MB. There are 7,453,748 INLINE records and 1,268,493 INLINE_ORIGIN records. Bug: 1190878 Change-Id: I802ec1b4574c14f74ff80d0f69daf3c81085778a Reviewed-on: https://chromium-review.googlesource.com/c/breakpad/breakpad/+/2915828 Reviewed-by: Joshua Peraza <jperaza@chromium.org>
This commit is contained in:
parent
0d9416d3bf
commit
4f5b814790
11 changed files with 511 additions and 86 deletions
|
|
@ -260,13 +260,16 @@ class DumperLineToModule: public DwarfCUToModule::LineToModuleHandler {
|
|||
void StartCompilationUnit(const string& compilation_dir) {
|
||||
compilation_dir_ = compilation_dir;
|
||||
}
|
||||
void ReadProgram(const uint8_t* program, uint64_t length,
|
||||
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, std::vector<Module::Line>* lines) {
|
||||
DwarfLineToModule handler(module, compilation_dir_, lines);
|
||||
Module* module,
|
||||
std::vector<Module::Line>* lines,
|
||||
std::map<uint32_t, Module::File*>* files) {
|
||||
DwarfLineToModule handler(module, compilation_dir_, lines, files);
|
||||
google_breakpad::LineInfo parser(program, length, byte_reader_,
|
||||
string_section, string_section_length,
|
||||
line_string_section,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue