brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.8 KiB · 1bab2c2 Raw
56 lines · yaml
1# RUN: yaml2obj %s -o %t.o2# RUN: llvm-dwarfdump -debug-line -verify %t.o | FileCheck %s3 4# CHECK: Verifying .debug_line...5# CHECK: No errors6 7# In a line table like the one below, with no rows (other than the8# end_sequence), we should never verify the file index because the state9# machine initializes the file index to 1, which is invalid in DWARF 5 due to10# its 0-based indexing.11 12# file_names[  0]:13#            name: "/home/umb/tests_2018/106_rnglists2"14#       dir_index: 015# Address            Line   Column File   ISA Discriminator OpIndex Flags16# ------------------ ------ ------ ------ --- ------------- ------- -------------17# 0x0000000000000000      1      0      1   0             0       0  is_stmt end_sequence18 19 20--- !ELF21FileHeader:22  Class: ELFCLASS6423  Data:  ELFDATA2LSB24  Type:  ET_EXEC25DWARF:26  debug_abbrev:27    - ID:              028      Table:29        - Code:            0x130          Tag:             DW_TAG_compile_unit31          Children:        DW_CHILDREN_no32          Attributes:33            - Attribute:       DW_AT_stmt_list34              Form:            DW_FORM_sec_offset35  debug_info:36    - Length:          0xd37      Version:         538      UnitType:        DW_UT_compile39      AbbrevTableID:   040      AbbrOffset:      0x041      AddrSize:        842      Entries:43        - AbbrCode:        0x144          Values:45            - Value:           0x046Sections:47  - Name:            .debug_line48    Type:            SHT_PROGBITS49    AddressAlign:    0x150    Content:         300000000500080025000000010101fb0e0d00010101010000000100000101011f010000000002011f020b01000000000000010151  - Name:            .debug_line_str52    Type:            SHT_PROGBITS53    Flags:           [ SHF_MERGE, SHF_STRINGS ]54    AddressAlign:    0x155    Content:         2F686F6D652F756D622F74657374735F323031382F3130365F726E676C697374733200746573742E6370700056