[Instrumentation] Fix a warning
[llvm-project.git] / llvm / test / tools / llvm-dwarfdump / X86 / exprloc.s
blob98b4fcab395be23e54a9cc54861e0b58f2cff722
1 # RUN: llvm-mc --dwarf-version=5 < %s -filetype obj -triple x86_64-pc-linux -o - | \
2 # RUN: llvm-dwarfdump - | FileCheck %s
4 # CHECK: DW_AT_low_pc (DW_OP_const4u 0x0)
6 .text
7 .file "test.cpp"
8 .globl _Z2f1v # -- Begin function _Z2f1v
9 .p2align 4, 0x90
10 .type _Z2f1v,@function
11 _Z2f1v: # @_Z2f1v
12 .Lfunc_begin0:
13 .file 0 "/usr/local/google/home/blaikie/dev/scratch" "test.cpp" md5 0x74f7c574cd1ba04403967d02e757afeb
14 .loc 0 1 0 # test.cpp:1:0
15 .cfi_startproc
16 # %bb.0: # %entry
17 pushq %rbp
18 .cfi_def_cfa_offset 16
19 .cfi_offset %rbp, -16
20 movq %rsp, %rbp
21 .cfi_def_cfa_register %rbp
22 .Ltmp0:
23 .loc 0 2 1 prologue_end # test.cpp:2:1
24 popq %rbp
25 .cfi_def_cfa %rsp, 8
26 retq
27 .Ltmp1:
28 .Lfunc_end0:
29 .size _Z2f1v, .Lfunc_end0-_Z2f1v
30 .cfi_endproc
31 # -- End function
32 .section .debug_str_offsets,"",@progbits
33 .long 24
34 .short 5
35 .short 0
36 .Lstr_offsets_base0:
37 .section .debug_str,"MS",@progbits,1
38 .Linfo_string0:
39 .asciz "clang version 10.0.0 (git@github.com:llvm/llvm-project.git bf71564a526196f94cdde813063c8b1ff665fde7)" # string offset=0
40 .Linfo_string1:
41 .asciz "test.cpp" # string offset=101
42 .Linfo_string2:
43 .asciz "/usr/local/google/home/blaikie/dev/scratch" # string offset=110
44 .Linfo_string3:
45 .asciz "_Z2f1v" # string offset=153
46 .Linfo_string4:
47 .asciz "f1" # string offset=160
48 .section .debug_str_offsets,"",@progbits
49 .long .Linfo_string0
50 .long .Linfo_string1
51 .long .Linfo_string2
52 .long .Linfo_string3
53 .long .Linfo_string4
54 .section .debug_abbrev,"",@progbits
55 .byte 1 # Abbreviation Code
56 .byte 17 # DW_TAG_compile_unit
57 .byte 0 # DW_CHILDREN_no
58 .byte 37 # DW_AT_producer
59 .byte 37 # DW_FORM_strx1
60 .byte 19 # DW_AT_language
61 .byte 5 # DW_FORM_data2
62 .byte 3 # DW_AT_name
63 .byte 37 # DW_FORM_strx1
64 .byte 114 # DW_AT_str_offsets_base
65 .byte 23 # DW_FORM_sec_offset
66 .byte 16 # DW_AT_stmt_list
67 .byte 23 # DW_FORM_sec_offset
68 .byte 27 # DW_AT_comp_dir
69 .byte 37 # DW_FORM_strx1
70 .byte 17 # DW_AT_low_pc
71 .byte 24 # DW_FORM_exprloc
72 .byte 18 # DW_AT_high_pc
73 .byte 6 # DW_FORM_data4
74 .byte 0 # EOM(1)
75 .byte 0 # EOM(2)
76 .byte 0 # EOM(3)
77 .section .debug_info,"",@progbits
78 .Lcu_begin0:
79 .long .Ldebug_info_end0-.Ldebug_info_start0 # Length of Unit
80 .Ldebug_info_start0:
81 .short 5 # DWARF version number
82 .byte 1 # DWARF Unit Type
83 .byte 8 # Address Size (in bytes)
84 .long .debug_abbrev # Offset Into Abbrev. Section
85 .byte 1 # Abbrev [1] 0xc:0x38 DW_TAG_compile_unit
86 .byte 0 # DW_AT_producer
87 .short 33 # DW_AT_language
88 .byte 1 # DW_AT_name
89 .long .Lstr_offsets_base0 # DW_AT_str_offsets_base
90 .long .Lline_table_start0 # DW_AT_stmt_list
91 .byte 2 # DW_AT_comp_dir
92 .byte 5 # DW_AT_low_pc
93 .byte 12
94 .long .Lfunc_begin0
95 .long .Lfunc_end0-.Lfunc_begin0 # DW_AT_high_pc
96 .Ldebug_info_end0:
97 .ident "clang version 10.0.0 (git@github.com:llvm/llvm-project.git bf71564a526196f94cdde813063c8b1ff665fde7)"
98 .section ".note.GNU-stack","",@progbits
99 .addrsig
100 .section .debug_line,"",@progbits
101 .Lline_table_start0: