File: debug_info_min_dwarf64.s

package info (click to toggle)
llvm-toolchain-16 1%3A16.0.6-15~deb12u1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,634,792 kB
  • sloc: cpp: 6,179,261; ansic: 1,216,205; asm: 741,319; python: 196,614; objc: 75,325; f90: 49,640; lisp: 32,396; pascal: 12,286; sh: 9,394; perl: 7,442; ml: 5,494; awk: 3,523; makefile: 2,723; javascript: 1,206; xml: 886; fortran: 581; cs: 573
file content (38 lines) | stat: -rw-r--r-- 1,342 bytes parent folder | download | duplicates (21)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# RUN: llvm-mc %s -filetype obj -triple x86_64-unknown-elf -o - | \
# RUN:   llvm-dwarfdump -debug-info - | \
# RUN:   FileCheck %s

        .section .debug_abbrev,"",@progbits
        .byte 0x01  # Abbrev code
        .byte 0x11  # DW_TAG_compile_unit
        .byte 0x00  # DW_CHILDREN_no
        .byte 0x13  # DW_AT_language
        .byte 0x05  # DW_FORM_data2
        .byte 0x00  # EOM(1)
        .byte 0x00  # EOM(2)
        .byte 0x00  # EOM(3)
        
        .section .debug_info,"",@progbits
# CHECK: .debug_info contents:
# CHECK-NEXT: 0x00000000: Compile Unit:
DI_4_64_start:
        .long 0xffffffff       # DWARF64 mark
        .quad DI_4_64_end - DI_4_64_version # Length of Unit
# CHECK-SAME: length = 0x000000000000000f
# CHECK-SAME: format = DWARF64
DI_4_64_version:
        .short 4               # DWARF version number
# CHECK-SAME: version = 0x0004
        .quad .debug_abbrev    # Offset Into Abbrev. Section
# CHECK-SAME: abbr_offset = 0x0000
        .byte 8                # Address Size (in bytes)
# CHECK-SAME: addr_size = 0x08
# CHECK-SAME: (next unit at 0x0000001b)

        .byte 1                # Abbreviation code
# CHECK: 0x00000017: DW_TAG_compile_unit
        .short 4               # DW_LANG_C_plus_plus
# CHECK-NEXT: DW_AT_language (DW_LANG_C_plus_plus)
        .byte 0                # NULL
DI_4_64_end: