26 lines
1.1 KiB
Diff
26 lines
1.1 KiB
Diff
From 31cbc302a737e5cb8459d9b1fb67342a83bbd6b4 Mon Sep 17 00:00:00 2001
|
|
From: Danny Robson <danny@nerdcruft.net>
|
|
Date: Wed, 30 Oct 2019 10:09:48 +1100
|
|
Subject: [PATCH 1/7] Add a null range-handler to DwarfCUToModule constructor
|
|
|
|
---
|
|
src/common/pecoff/dump_symbols-inl.h | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/src/common/pecoff/dump_symbols-inl.h b/src/common/pecoff/dump_symbols-inl.h
|
|
index 661097d2..ef4136b7 100644
|
|
--- a/src/common/pecoff/dump_symbols-inl.h
|
|
+++ b/src/common/pecoff/dump_symbols-inl.h
|
|
@@ -257,7 +257,7 @@ bool LoadDwarf(const string& dwarf_filename,
|
|
// Make a handler for the root DIE that populates MODULE with the
|
|
// data that was found.
|
|
DwarfCUToModule::WarningReporter reporter(dwarf_filename, offset);
|
|
- DwarfCUToModule root_handler(&file_context, &line_to_module, &reporter);
|
|
+ DwarfCUToModule root_handler(&file_context, &line_to_module, nullptr, &reporter);
|
|
// Make a Dwarf2Handler that drives the DIEHandler.
|
|
dwarf2reader::DIEDispatcher die_dispatcher(&root_handler);
|
|
// Make a DWARF parser for the compilation unit at OFFSET.
|
|
--
|
|
2.28.0
|
|
|