1 # The .debug_info section says 8-byte addresses, but the assembler
2 # will generate a line table with 4-byte addresses (for i686).
4 # RUN: llvm-mc -filetype=obj -triple i686-linux-gnu %s -o - | \
5 # RUN: llvm-dwarfdump -debug-line - 2>&1 | FileCheck %s
7 # CHECK: warning: mismatching address size at offset 0x{{[0-9a-f]+}}
8 # CHECK-SAME: expected 0x08 found 0x04
13 .file 1 "/tmp" "reduced.c"
17 .file 2 "/tmp/repeat/repeat/repeat/repeat" "repeat.h"
19 .section .debug_abbrev,"",@progbits
20 .byte 1 # Abbreviation Code
21 .byte 17 # DW_TAG_compile_unit
22 .byte 0 # DW_CHILDREN_no
23 .byte 16 # DW_AT_stmt_list
24 .byte 23 # DW_FORM_sec_offset
29 .section .debug_info,"",@progbits
30 .long .Lend0 - .Lbegin0 # Length of Unit
32 .short 4 # DWARF version number
33 .long .debug_abbrev # Offset Into Abbrev. Section
34 .byte 8 # Address Size (in bytes)
35 .byte 1 # Abbrev [1] 0xb:0x1f DW_TAG_compile_unit
36 .long .debug_line # DW_AT_stmt_list
38 .section .debug_line,"",@progbits