1 # REQUIRES: x86-registered-target
3 # RUN: llvm-mc -filetype=obj -triple=x86_64 -dwarf-version=5 %s -o %t.o
4 # RUN: llvm-symbolizer --obj=%t.o --functions=none 0 1 | FileCheck %s
6 # CHECK: /home{{/|\\|\\\\}}0.cc:1:0
7 # CHECK: /tmp{{/|\\|\\\\}}1.cc:2:1
10 .file 0 "/home" "0.cc"
16 .loc 0 1 1 prologue_end # 0.cc:1:1
19 .section .debug_abbrev,"",@progbits
20 .byte 1 # Abbreviation Code
21 .byte 17 # DW_TAG_compile_unit
22 .byte 1 # DW_children_yes
23 .byte 16 # DW_AT_stmt_list
24 .byte 23 # DW_FROM_sec_offset
25 .byte 17 # DW_AT_low_pc
26 .byte 1 # DW_FORM_addr
27 .byte 18 # DW_AT_high_pc
28 .byte 6 # DW_FORM_data4
32 .byte 2 # Abbreviation Code
33 .byte 46 # DW_TAG_subprogram
34 .byte 0 # DW_children_no
36 .byte 8 # DW_FORM_string
37 .byte 17 # DW_AT_low_pc
38 .byte 1 # DW_FORM_addr
39 .byte 18 # DW_AT_high_pc
40 .byte 6 # DW_FORM_data4
46 .section .debug_info,"",@progbits
48 .long .Lcu_end0-.Lcu_begin0-4 # Length of Unit
49 .short 5 # DWARF version number
50 .byte 1 # DWARF Unit Type
51 .byte 8 # Address Size (in bytes)
52 .long .debug_abbrev # Offset Into Abbrev.
54 .long 0 # DW_AT_stmt_list
55 .quad 0 # DW_AT_low_pc
56 .long 2 # DW_AT_high_pc
57 .byte 2 # Abbrev [2] DW_TAG_subprogram
58 .asciz "0.c" # DW_AT_name
59 .quad 0 # DW_AT_low_pc
60 .long 2 # DW_AT_high_pc