1 # RUN: yaml2obj %s -o %t.o
2 # RUN: llvm-dwarfdump -debug-line -verify %t.o | FileCheck %s
4 # CHECK: Verifying .debug_line...
7 # In a line table like the one below, with no rows (other than the
8 # end_sequence), we should never verify the file index because the state
9 # machine initializes the file index to 1, which is invalid in DWARF 5 due to
10 # its 0-based indexing.
13 # name: "/home/umb/tests_2018/106_rnglists2"
15 # Address Line Column File ISA Discriminator OpIndex Flags
16 # ------------------ ------ ------ ------ --- ------------- ------- -------------
17 # 0x0000000000000000 1 0 1 0 0 0 is_stmt end_sequence
30 Tag: DW_TAG_compile_unit
31 Children: DW_CHILDREN_no
33 - Attribute: DW_AT_stmt_list
34 Form: DW_FORM_sec_offset
38 UnitType: DW_UT_compile
50 Content: 300000000500080025000000010101fb0e0d00010101010000000100000101011f010000000002011f020b010000000000000101
51 - Name: .debug_line_str
53 Flags: [ SHF_MERGE, SHF_STRINGS ]
55 Content: 2F686F6D652F756D622F74657374735F323031382F3130365F726E676C697374733200746573742E63707000