Skip to content

Commit

Permalink
Fixes for macOS.
Browse files Browse the repository at this point in the history
  • Loading branch information
nmoinvaz committed Dec 20, 2023
1 parent 84f30cc commit 51db146
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/common/mac/dump_syms.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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.
Expand Down

0 comments on commit 51db146

Please sign in to comment.