diff --git a/src/common/mac/dump_syms.cc b/src/common/mac/dump_syms.cc index 6cbbf0f69..bcb62413f 100644 --- a/src/common/mac/dump_syms.cc +++ b/src/common/mac/dump_syms.cc @@ -528,7 +528,7 @@ void DumpSymbols::ReadDwarf(google_breakpad::Module* module, for (uint64_t offset = 0; offset < debug_info_length;) { // Make a handler for the root DIE that populates MODULE with the // debug info. - DwarfCUToModule::WarningReporter *reporter = NULL; + DwarfCUToModule::WarningReporter *reporter = nullptr; if (report_warnings_) { reporter = new DwarfCUToModule::WarningReporter( selected_object_name_, offset); @@ -537,8 +537,8 @@ void DumpSymbols::ReadDwarf(google_breakpad::Module* module, selected_object_name_, offset); } DwarfCUToModule root_handler(&file_context, &line_to_module, - &ranges_handler, &reporter, - symbol_data_ & INLINES); + &ranges_handler, reporter, + handle_inline); // Make a Dwarf2Handler that drives our DIEHandler. DIEDispatcher die_dispatcher(&root_handler); // Make a DWARF parser for the compilation unit at OFFSET.