diff options
Diffstat (limited to 'compiler/dwarf/dwarf_test.cc')
-rw-r--r-- | compiler/dwarf/dwarf_test.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/dwarf/dwarf_test.cc b/compiler/dwarf/dwarf_test.cc index e9cd421da9..32373119b2 100644 --- a/compiler/dwarf/dwarf_test.cc +++ b/compiler/dwarf/dwarf_test.cc @@ -283,7 +283,8 @@ TEST_F(DwarfTest, DebugLineSpecialOpcodes) { TEST_F(DwarfTest, DebugInfo) { constexpr bool is64bit = false; - DebugInfoEntryWriter<> info(is64bit, &debug_abbrev_data_); + DebugAbbrevWriter<> debug_abbrev(&debug_abbrev_data_); + DebugInfoEntryWriter<> info(is64bit, &debug_abbrev); DW_CHECK("Contents of the .debug_info section:"); info.StartTag(dwarf::DW_TAG_compile_unit); DW_CHECK("Abbrev Number: 1 (DW_TAG_compile_unit)"); |