Skip to content

Commit ba944d4

Browse files
committed
Update RISVC test for new expected output
1 parent 2e5c839 commit ba944d4

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

llvm/test/DebugInfo/RISCV/dwarf-riscv-relocs.ll

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
; LINE-DUMP: .debug_line contents:
3939
; LINE-DUMP-NEXT: debug_line[0x00000000]
4040
; LINE-DUMP-NEXT: Line table prologue:
41-
; LINE-DUMP-NEXT: total_length: 0x00000067
41+
; LINE-DUMP-NEXT: total_length: 0x00000061
4242
; LINE-DUMP-NEXT: format: DWARF32
4343
; LINE-DUMP-NEXT: version: 5
4444
; LINE-DUMP-NEXT: address_size: 4
@@ -83,12 +83,10 @@
8383
; LINE-DUMP-NEXT: 0x000000000000001c 3 5 0 0 0 0 is_stmt prologue_end
8484
; LINE-DUMP-NEXT:0x0000005d: 06 DW_LNS_negate_stmt
8585
; LINE-DUMP-NEXT:0x0000005e: 0b DW_LNS_set_epilogue_begin
86-
; LINE-DUMP-NEXT:0x0000005f: 03 DW_LNS_advance_line (3)
87-
; LINE-DUMP-NEXT:0x00000061: 09 DW_LNS_fixed_advance_pc (addr += 0x0004, op-index = 0)
88-
; LINE-DUMP-NEXT:0x00000064: 01 DW_LNS_copy
86+
; LINE-DUMP-NEXT:0x0000005f: 4a address += 4, line += 0, op-index += 0
8987
; LINE-DUMP-NEXT: 0x0000000000000020 3 5 0 0 0 0 epilogue_begin
90-
; LINE-DUMP-NEXT:0x00000065: 09 DW_LNS_fixed_advance_pc (addr += 0x0010, op-index = 0)
91-
; LINE-DUMP-NEXT:0x00000068: 00 DW_LNE_end_sequence
88+
; LINE-DUMP-NEXT:0x00000060: 02 DW_LNS_advance_pc (addr += 16, op-index += 0)
89+
; LINE-DUMP-NEXT:0x00000062: 00 DW_LNE_end_sequence
9290
; LINE-DUMP-NEXT: 0x0000000000000030 3 5 0 0 0 0 end_sequence
9391

9492
; ModuleID = 'dwarf-riscv-relocs.c'

0 commit comments

Comments
 (0)