From 492ba0e3b59fac6416e13ad57ef96dbf09145c7a Mon Sep 17 00:00:00 2001 From: Aditya Kumar Date: Fri, 2 Feb 2024 17:22:03 +0000 Subject: Revert^2 "art: Fix dwarfdump tests" 4bc49eb213b5471e8e75393d55d0c91d85f06cc7 Change-Id: Ib27405ad268e4141c0363d2777e5a13a1d5534a4 --- compiler/debug/dwarf/dwarf_test.cc | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'compiler/debug/dwarf/dwarf_test.cc') diff --git a/compiler/debug/dwarf/dwarf_test.cc b/compiler/debug/dwarf/dwarf_test.cc index 14c92b2380..87a94b48e3 100644 --- a/compiler/debug/dwarf/dwarf_test.cc +++ b/compiler/debug/dwarf/dwarf_test.cc @@ -234,10 +234,10 @@ TEST_F(DwarfTest, DebugLine) { opcodes.SetISA(5); opcodes.EndSequence(); opcodes.DefineFile("file.c", 0, 1000, 2000); - DW_CHECK_NEXT("Address Line Column File ISA Discriminator Flags"); - DW_CHECK_NEXT("------------------ ------ ------ ------ --- ------------- -------------"); - DW_CHECK_NEXT("0x0000000001000000 1 0 1 0 0 is_stmt"); - DW_CHECK_NEXT("0x0000000001000100 3 4 2 5 0 basic_block prologue_end epilogue_begin end_sequence"); + DW_CHECK_NEXT("Address Line Column File ISA Discriminator OpIndex Flags"); + DW_CHECK_NEXT("------------------ ------ ------ ------ --- ------------- ------- -------------"); + DW_CHECK_NEXT("0x0000000001000000 1 0 1 0 0 0 is_stmt"); + DW_CHECK_NEXT("0x0000000001000100 3 4 2 5 0 0 basic_block prologue_end epilogue_begin end_sequence"); WriteDebugLineTable(include_directories, files, opcodes, &debug_line_data_); @@ -256,8 +256,8 @@ TEST_F(DwarfTest, DebugLineSpecialOpcodes) { DW_CHECK(".debug_line contents:"); DW_CHECK("file_names[ 1]:"); DW_CHECK(" name: \"file.c\""); - DW_CHECK("Address Line Column File ISA Discriminator Flags"); - DW_CHECK("------------------ ------ ------ ------ --- ------------- -------------"); + DW_CHECK("Address Line Column File ISA Discriminator OpIndex Flags"); + DW_CHECK("------------------ ------ ------ ------ --- ------------- ------- -------------"); for (int addr_delta = 0; addr_delta < 80; addr_delta += 2) { for (int line_delta = 16; line_delta >= -16; --line_delta) { pc += addr_delta; @@ -267,7 +267,7 @@ TEST_F(DwarfTest, DebugLineSpecialOpcodes) { ASSERT_EQ(opcodes.CurrentAddress(), pc); ASSERT_EQ(opcodes.CurrentLine(), line); char expected[1024]; - sprintf(expected, "0x%016x %6i 0 1 0 0", pc, line); + sprintf(expected, "0x%016x %6i 0 1 0 0 0", pc, line); DW_CHECK_NEXT(expected); } } -- cgit v1.2.3-59-g8ed1b