xref: /llvm-project/llvm/test/tools/llvm-dwarfdump/X86/callsite-invalid.s (revision 5931b4e5b5de31bd366cbeb773f53357a0985e68)
1*5931b4e5SVedant Kumar# RUN: llvm-mc -triple x86_64-apple-darwin %s -filetype=obj -o %t.o
2*5931b4e5SVedant Kumar# RUN: not llvm-dwarfdump -verify %t.o 2>&1 | FileCheck %s
3*5931b4e5SVedant Kumar
4*5931b4e5SVedant Kumar# CHECK: error: Subprogram with call site entry has no DW_AT_call attribute:
5*5931b4e5SVedant Kumar# CHECK: DW_TAG_subprogram
6*5931b4e5SVedant Kumar# CHECK:   DW_AT_name ("main")
7*5931b4e5SVedant Kumar# CHECK: DW_TAG_call_site
8*5931b4e5SVedant Kumar# CHECK:   DW_AT_call_origin
9*5931b4e5SVedant Kumar# CHECK: Errors detected.
10*5931b4e5SVedant Kumar
11*5931b4e5SVedant Kumar# Source:
12*5931b4e5SVedant Kumar## define void @foo() !dbg !25 {
13*5931b4e5SVedant Kumar##   ret void, !dbg !28
14*5931b4e5SVedant Kumar## }
15*5931b4e5SVedant Kumar##
16*5931b4e5SVedant Kumar## define i32 @main() !dbg !29 {
17*5931b4e5SVedant Kumar##   call void @foo(), !dbg !32
18*5931b4e5SVedant Kumar##   ret i32 0, !dbg !33
19*5931b4e5SVedant Kumar## }
20*5931b4e5SVedant Kumar##
21*5931b4e5SVedant Kumar## !llvm.dbg.cu = !{!2}
22*5931b4e5SVedant Kumar## !llvm.module.flags = !{!8, !9, !10, !11}
23*5931b4e5SVedant Kumar## !llvm.ident = !{!12}
24*5931b4e5SVedant Kumar##
25*5931b4e5SVedant Kumar## !0 = !DIGlobalVariableExpression(var: !1, expr: !DIExpression())
26*5931b4e5SVedant Kumar## !1 = distinct !DIGlobalVariable(name: "sink", scope: !2, file: !3, line: 1, type: !6, isLocal: false, isDefinition: true)
27*5931b4e5SVedant Kumar## !2 = distinct !DICompileUnit(language: DW_LANG_C_plus_plus, file: !3, producer: "clang version 7.0.0 ", isOptimized: true, runtimeVersion: 0, emissionKind: FullDebug, enums: !4, globals: !5)
28*5931b4e5SVedant Kumar## !3 = !DIFile(filename: "/Users/vsk/src/llvm.org-tailcall/tail2.cc", directory: "/Users/vsk/src/builds/llvm-project-tailcall-RA", checksumkind: CSK_MD5, checksum: "3b61952c21b7f657ddb7c0ad44cf5529")
29*5931b4e5SVedant Kumar## !4 = !{}
30*5931b4e5SVedant Kumar## !5 = !{!0}
31*5931b4e5SVedant Kumar## !6 = !DIDerivedType(tag: DW_TAG_volatile_type, baseType: !7)
32*5931b4e5SVedant Kumar## !7 = !DIBasicType(name: "int", size: 32, encoding: DW_ATE_signed)
33*5931b4e5SVedant Kumar## !8 = !{i32 2, !"Dwarf Version", i32 5}
34*5931b4e5SVedant Kumar## !9 = !{i32 2, !"Debug Info Version", i32 3}
35*5931b4e5SVedant Kumar## !10 = !{i32 1, !"wchar_size", i32 4}
36*5931b4e5SVedant Kumar## !11 = !{i32 7, !"PIC Level", i32 2}
37*5931b4e5SVedant Kumar## !12 = !{!"clang version 7.0.0 "}
38*5931b4e5SVedant Kumar## !13 = distinct !DISubprogram(name: "bat", linkageName: "_Z3batv", scope: !3, file: !3, line: 2, type: !14, isLocal: false, isDefinition: true, scopeLine: 2, flags: DIFlagPrototyped | DIFlagAllCallsDescribed, isOptimized: true, unit: !2, retainedNodes: !4)
39*5931b4e5SVedant Kumar## !14 = !DISubroutineType(types: !15)
40*5931b4e5SVedant Kumar## !15 = !{null}
41*5931b4e5SVedant Kumar## !16 = !DILocation(line: 2, column: 44, scope: !13)
42*5931b4e5SVedant Kumar## !17 = !{!18, !18, i64 0}
43*5931b4e5SVedant Kumar## !18 = !{!"int", !19, i64 0}
44*5931b4e5SVedant Kumar## !19 = !{!"omnipotent char", !20, i64 0}
45*5931b4e5SVedant Kumar## !20 = !{!"Simple C++ TBAA"}
46*5931b4e5SVedant Kumar## !21 = !DILocation(line: 2, column: 48, scope: !13)
47*5931b4e5SVedant Kumar## !22 = distinct !DISubprogram(name: "bar", linkageName: "_Z3barv", scope: !3, file: !3, line: 3, type: !14, isLocal: false, isDefinition: true, scopeLine: 3, flags: DIFlagPrototyped | DIFlagAllCallsDescribed, isOptimized: true, unit: !2, retainedNodes: !4)
48*5931b4e5SVedant Kumar## !23 = !DILocation(line: 3, column: 44, scope: !22)
49*5931b4e5SVedant Kumar## !24 = !DILocation(line: 3, column: 48, scope: !22)
50*5931b4e5SVedant Kumar## !25 = distinct !DISubprogram(name: "foo", linkageName: "_Z3foov", scope: !3, file: !3, line: 4, type: !14, isLocal: false, isDefinition: true, scopeLine: 4, flags: DIFlagPrototyped | DIFlagAllCallsDescribed, isOptimized: true, unit: !2, retainedNodes: !4)
51*5931b4e5SVedant Kumar## !26 = !DILocation(line: 5, column: 3, scope: !25)
52*5931b4e5SVedant Kumar## !27 = !DILocation(line: 6, column: 3, scope: !25)
53*5931b4e5SVedant Kumar## !28 = !DILocation(line: 7, column: 1, scope: !25)
54*5931b4e5SVedant Kumar## !29 = distinct !DISubprogram(name: "main", scope: !3, file: !3, line: 8, type: !30, isLocal: false, isDefinition: true, scopeLine: 8, flags: DIFlagPrototyped | DIFlagAllCallsDescribed, isOptimized: true, unit: !2, retainedNodes: !4)
55*5931b4e5SVedant Kumar## !30 = !DISubroutineType(types: !31)
56*5931b4e5SVedant Kumar## !31 = !{!7}
57*5931b4e5SVedant Kumar## !32 = !DILocation(line: 8, column: 50, scope: !29)
58*5931b4e5SVedant Kumar## !33 = !DILocation(line: 8, column: 57, scope: !29)
59*5931b4e5SVedant Kumar
60*5931b4e5SVedant Kumar        .section        __TEXT,__text,regular,pure_instructions
61*5931b4e5SVedant Kumar        .globl  _foo                    ## -- Begin function foo
62*5931b4e5SVedant Kumar_foo:                                   ## @foo
63*5931b4e5SVedant KumarLfunc_begin0:
64*5931b4e5SVedant Kumar        .cfi_startproc
65*5931b4e5SVedant Kumar## %bb.0:
66*5931b4e5SVedant Kumar        retq
67*5931b4e5SVedant KumarLtmp0:
68*5931b4e5SVedant KumarLfunc_end0:
69*5931b4e5SVedant Kumar        .cfi_endproc
70*5931b4e5SVedant Kumar                                        ## -- End function
71*5931b4e5SVedant Kumar        .globl  _main                   ## -- Begin function main
72*5931b4e5SVedant Kumar_main:                                  ## @main
73*5931b4e5SVedant KumarLfunc_begin1:
74*5931b4e5SVedant Kumar        .cfi_startproc
75*5931b4e5SVedant Kumar## %bb.0:
76*5931b4e5SVedant Kumar        pushq   %rax
77*5931b4e5SVedant Kumar        .cfi_def_cfa_offset 16
78*5931b4e5SVedant KumarLtmp1:
79*5931b4e5SVedant Kumar        callq   _foo
80*5931b4e5SVedant Kumar        xorl    %eax, %eax
81*5931b4e5SVedant Kumar        popq    %rcx
82*5931b4e5SVedant Kumar        retq
83*5931b4e5SVedant KumarLtmp2:
84*5931b4e5SVedant KumarLfunc_end1:
85*5931b4e5SVedant Kumar        .cfi_endproc
86*5931b4e5SVedant Kumar                                        ## -- End function
87*5931b4e5SVedant Kumar        .section        __DWARF,__debug_str_offs,regular,debug
88*5931b4e5SVedant KumarLsection_str_off:
89*5931b4e5SVedant Kumar        .long   36
90*5931b4e5SVedant Kumar        .short  5
91*5931b4e5SVedant Kumar        .short  0
92*5931b4e5SVedant KumarLstr_offsets_base0:
93*5931b4e5SVedant Kumar        .section        __DWARF,__debug_str,regular,debug
94*5931b4e5SVedant KumarLinfo_string:
95*5931b4e5SVedant Kumar        .asciz  "clang version 7.0.0 "  ## string offset=0
96*5931b4e5SVedant Kumar        .asciz  "/Users/vsk/src/llvm.org-tailcall/tail2.cc" ## string offset=21
97*5931b4e5SVedant Kumar        .asciz  "/Users/vsk/src/builds/llvm-project-tailcall-RA" ## string offset=63
98*5931b4e5SVedant Kumar        .asciz  "sink"                  ## string offset=110
99*5931b4e5SVedant Kumar        .asciz  "int"                   ## string offset=115
100*5931b4e5SVedant Kumar        .asciz  "foo"                   ## string offset=119
101*5931b4e5SVedant Kumar        .asciz  "_Z3foov"               ## string offset=123
102*5931b4e5SVedant Kumar        .asciz  "main"                  ## string offset=131
103*5931b4e5SVedant Kumar        .section        __DWARF,__debug_str_offs,regular,debug
104*5931b4e5SVedant Kumar        .long   0
105*5931b4e5SVedant Kumar        .long   21
106*5931b4e5SVedant Kumar        .long   63
107*5931b4e5SVedant Kumar        .long   110
108*5931b4e5SVedant Kumar        .long   115
109*5931b4e5SVedant Kumar        .long   119
110*5931b4e5SVedant Kumar        .long   123
111*5931b4e5SVedant Kumar        .long   131
112*5931b4e5SVedant Kumar        .section        __DWARF,__debug_abbrev,regular,debug
113*5931b4e5SVedant KumarLsection_abbrev:
114*5931b4e5SVedant Kumar        .byte   1                       ## Abbreviation Code
115*5931b4e5SVedant Kumar        .byte   17                      ## DW_TAG_compile_unit
116*5931b4e5SVedant Kumar        .byte   1                       ## DW_CHILDREN_yes
117*5931b4e5SVedant Kumar        .byte   37                      ## DW_AT_producer
118*5931b4e5SVedant Kumar        .byte   37                      ## DW_FORM_strx1
119*5931b4e5SVedant Kumar        .byte   19                      ## DW_AT_language
120*5931b4e5SVedant Kumar        .byte   5                       ## DW_FORM_data2
121*5931b4e5SVedant Kumar        .byte   3                       ## DW_AT_name
122*5931b4e5SVedant Kumar        .byte   37                      ## DW_FORM_strx1
123*5931b4e5SVedant Kumar        .byte   114                     ## DW_AT_str_offsets_base
124*5931b4e5SVedant Kumar        .byte   23                      ## DW_FORM_sec_offset
125*5931b4e5SVedant Kumar        .byte   16                      ## DW_AT_stmt_list
126*5931b4e5SVedant Kumar        .byte   23                      ## DW_FORM_sec_offset
127*5931b4e5SVedant Kumar        .byte   27                      ## DW_AT_comp_dir
128*5931b4e5SVedant Kumar        .byte   37                      ## DW_FORM_strx1
129*5931b4e5SVedant Kumar        .ascii  "\341\177"              ## DW_AT_APPLE_optimized
130*5931b4e5SVedant Kumar        .byte   25                      ## DW_FORM_flag_present
131*5931b4e5SVedant Kumar        .byte   17                      ## DW_AT_low_pc
132*5931b4e5SVedant Kumar        .byte   1                       ## DW_FORM_addr
133*5931b4e5SVedant Kumar        .byte   18                      ## DW_AT_high_pc
134*5931b4e5SVedant Kumar        .byte   6                       ## DW_FORM_data4
135*5931b4e5SVedant Kumar        .byte   0                       ## EOM(1)
136*5931b4e5SVedant Kumar        .byte   0                       ## EOM(2)
137*5931b4e5SVedant Kumar        .byte   2                       ## Abbreviation Code
138*5931b4e5SVedant Kumar        .byte   52                      ## DW_TAG_variable
139*5931b4e5SVedant Kumar        .byte   0                       ## DW_CHILDREN_no
140*5931b4e5SVedant Kumar        .byte   3                       ## DW_AT_name
141*5931b4e5SVedant Kumar        .byte   37                      ## DW_FORM_strx1
142*5931b4e5SVedant Kumar        .byte   73                      ## DW_AT_type
143*5931b4e5SVedant Kumar        .byte   19                      ## DW_FORM_ref4
144*5931b4e5SVedant Kumar        .byte   63                      ## DW_AT_external
145*5931b4e5SVedant Kumar        .byte   25                      ## DW_FORM_flag_present
146*5931b4e5SVedant Kumar        .byte   58                      ## DW_AT_decl_file
147*5931b4e5SVedant Kumar        .byte   11                      ## DW_FORM_data1
148*5931b4e5SVedant Kumar        .byte   59                      ## DW_AT_decl_line
149*5931b4e5SVedant Kumar        .byte   11                      ## DW_FORM_data1
150*5931b4e5SVedant Kumar        .byte   0                       ## EOM(1)
151*5931b4e5SVedant Kumar        .byte   0                       ## EOM(2)
152*5931b4e5SVedant Kumar        .byte   3                       ## Abbreviation Code
153*5931b4e5SVedant Kumar        .byte   53                      ## DW_TAG_volatile_type
154*5931b4e5SVedant Kumar        .byte   0                       ## DW_CHILDREN_no
155*5931b4e5SVedant Kumar        .byte   73                      ## DW_AT_type
156*5931b4e5SVedant Kumar        .byte   19                      ## DW_FORM_ref4
157*5931b4e5SVedant Kumar        .byte   0                       ## EOM(1)
158*5931b4e5SVedant Kumar        .byte   0                       ## EOM(2)
159*5931b4e5SVedant Kumar        .byte   4                       ## Abbreviation Code
160*5931b4e5SVedant Kumar        .byte   36                      ## DW_TAG_base_type
161*5931b4e5SVedant Kumar        .byte   0                       ## DW_CHILDREN_no
162*5931b4e5SVedant Kumar        .byte   3                       ## DW_AT_name
163*5931b4e5SVedant Kumar        .byte   37                      ## DW_FORM_strx1
164*5931b4e5SVedant Kumar        .byte   62                      ## DW_AT_encoding
165*5931b4e5SVedant Kumar        .byte   11                      ## DW_FORM_data1
166*5931b4e5SVedant Kumar        .byte   11                      ## DW_AT_byte_size
167*5931b4e5SVedant Kumar        .byte   11                      ## DW_FORM_data1
168*5931b4e5SVedant Kumar        .byte   0                       ## EOM(1)
169*5931b4e5SVedant Kumar        .byte   0                       ## EOM(2)
170*5931b4e5SVedant Kumar        .byte   5                       ## Abbreviation Code
171*5931b4e5SVedant Kumar        .byte   46                      ## DW_TAG_subprogram
172*5931b4e5SVedant Kumar        .byte   0                       ## DW_CHILDREN_no
173*5931b4e5SVedant Kumar        .byte   17                      ## DW_AT_low_pc
174*5931b4e5SVedant Kumar        .byte   1                       ## DW_FORM_addr
175*5931b4e5SVedant Kumar        .byte   18                      ## DW_AT_high_pc
176*5931b4e5SVedant Kumar        .byte   6                       ## DW_FORM_data4
177*5931b4e5SVedant Kumar        .ascii  "\347\177"              ## DW_AT_APPLE_omit_frame_ptr
178*5931b4e5SVedant Kumar        .byte   25                      ## DW_FORM_flag_present
179*5931b4e5SVedant Kumar        .byte   64                      ## DW_AT_frame_base
180*5931b4e5SVedant Kumar        .byte   24                      ## DW_FORM_exprloc
181*5931b4e5SVedant Kumar##        .byte   122                     ## DW_AT_call_all_calls
182*5931b4e5SVedant Kumar##        .byte   25                      ## DW_FORM_flag_present
183*5931b4e5SVedant Kumar        .byte   110                     ## DW_AT_linkage_name
184*5931b4e5SVedant Kumar        .byte   37                      ## DW_FORM_strx1
185*5931b4e5SVedant Kumar        .byte   3                       ## DW_AT_name
186*5931b4e5SVedant Kumar        .byte   37                      ## DW_FORM_strx1
187*5931b4e5SVedant Kumar        .byte   58                      ## DW_AT_decl_file
188*5931b4e5SVedant Kumar        .byte   11                      ## DW_FORM_data1
189*5931b4e5SVedant Kumar        .byte   59                      ## DW_AT_decl_line
190*5931b4e5SVedant Kumar        .byte   11                      ## DW_FORM_data1
191*5931b4e5SVedant Kumar        .byte   63                      ## DW_AT_external
192*5931b4e5SVedant Kumar        .byte   25                      ## DW_FORM_flag_present
193*5931b4e5SVedant Kumar        .ascii  "\341\177"              ## DW_AT_APPLE_optimized
194*5931b4e5SVedant Kumar        .byte   25                      ## DW_FORM_flag_present
195*5931b4e5SVedant Kumar        .byte   0                       ## EOM(1)
196*5931b4e5SVedant Kumar        .byte   0                       ## EOM(2)
197*5931b4e5SVedant Kumar        .byte   6                       ## Abbreviation Code
198*5931b4e5SVedant Kumar        .byte   46                      ## DW_TAG_subprogram
199*5931b4e5SVedant Kumar        .byte   1                       ## DW_CHILDREN_yes
200*5931b4e5SVedant Kumar        .byte   17                      ## DW_AT_low_pc
201*5931b4e5SVedant Kumar        .byte   1                       ## DW_FORM_addr
202*5931b4e5SVedant Kumar        .byte   18                      ## DW_AT_high_pc
203*5931b4e5SVedant Kumar        .byte   6                       ## DW_FORM_data4
204*5931b4e5SVedant Kumar        .ascii  "\347\177"              ## DW_AT_APPLE_omit_frame_ptr
205*5931b4e5SVedant Kumar        .byte   25                      ## DW_FORM_flag_present
206*5931b4e5SVedant Kumar        .byte   64                      ## DW_AT_frame_base
207*5931b4e5SVedant Kumar        .byte   24                      ## DW_FORM_exprloc
208*5931b4e5SVedant Kumar##        .byte   122                     ## DW_AT_call_all_calls
209*5931b4e5SVedant Kumar##        .byte   25                      ## DW_FORM_flag_present
210*5931b4e5SVedant Kumar        .byte   3                       ## DW_AT_name
211*5931b4e5SVedant Kumar        .byte   37                      ## DW_FORM_strx1
212*5931b4e5SVedant Kumar        .byte   58                      ## DW_AT_decl_file
213*5931b4e5SVedant Kumar        .byte   11                      ## DW_FORM_data1
214*5931b4e5SVedant Kumar        .byte   59                      ## DW_AT_decl_line
215*5931b4e5SVedant Kumar        .byte   11                      ## DW_FORM_data1
216*5931b4e5SVedant Kumar        .byte   73                      ## DW_AT_type
217*5931b4e5SVedant Kumar        .byte   19                      ## DW_FORM_ref4
218*5931b4e5SVedant Kumar        .byte   63                      ## DW_AT_external
219*5931b4e5SVedant Kumar        .byte   25                      ## DW_FORM_flag_present
220*5931b4e5SVedant Kumar        .ascii  "\341\177"              ## DW_AT_APPLE_optimized
221*5931b4e5SVedant Kumar        .byte   25                      ## DW_FORM_flag_present
222*5931b4e5SVedant Kumar        .byte   0                       ## EOM(1)
223*5931b4e5SVedant Kumar        .byte   0                       ## EOM(2)
224*5931b4e5SVedant Kumar        .byte   7                       ## Abbreviation Code
225*5931b4e5SVedant Kumar        .byte   72                      ## DW_TAG_call_site
226*5931b4e5SVedant Kumar        .byte   0                       ## DW_CHILDREN_no
227*5931b4e5SVedant Kumar        .byte   127                     ## DW_AT_call_origin
228*5931b4e5SVedant Kumar        .byte   19                      ## DW_FORM_ref4
229*5931b4e5SVedant Kumar        .byte   0                       ## EOM(1)
230*5931b4e5SVedant Kumar        .byte   0                       ## EOM(2)
231*5931b4e5SVedant Kumar        .byte   0                       ## EOM(3)
232*5931b4e5SVedant Kumar        .section        __DWARF,__debug_info,regular,debug
233*5931b4e5SVedant KumarLsection_info:
234*5931b4e5SVedant KumarLcu_begin0:
235*5931b4e5SVedant Kumar        .long   99                      ## Length of Unit
236*5931b4e5SVedant Kumar        .short  5                       ## DWARF version number
237*5931b4e5SVedant Kumar        .byte   1                       ## DWARF Unit Type
238*5931b4e5SVedant Kumar        .byte   8                       ## Address Size (in bytes)
239*5931b4e5SVedant Kumar.set Lset0, Lsection_abbrev-Lsection_abbrev ## Offset Into Abbrev. Section
240*5931b4e5SVedant Kumar        .long   Lset0
241*5931b4e5SVedant Kumar        .byte   1                       ## Abbrev [1] 0xc:0x5b DW_TAG_compile_unit
242*5931b4e5SVedant Kumar        .byte   0                       ## DW_AT_producer
243*5931b4e5SVedant Kumar        .short  4                       ## DW_AT_language
244*5931b4e5SVedant Kumar        .byte   1                       ## DW_AT_name
245*5931b4e5SVedant Kumar.set Lset1, Lstr_offsets_base0-Lsection_str_off ## DW_AT_str_offsets_base
246*5931b4e5SVedant Kumar        .long   Lset1
247*5931b4e5SVedant Kumar.set Lset2, Lline_table_start0-Lsection_line ## DW_AT_stmt_list
248*5931b4e5SVedant Kumar        .long   Lset2
249*5931b4e5SVedant Kumar        .byte   2                       ## DW_AT_comp_dir
250*5931b4e5SVedant Kumar                                        ## DW_AT_APPLE_optimized
251*5931b4e5SVedant Kumar        .quad   Lfunc_begin0            ## DW_AT_low_pc
252*5931b4e5SVedant Kumar.set Lset3, Lfunc_end1-Lfunc_begin0     ## DW_AT_high_pc
253*5931b4e5SVedant Kumar        .long   Lset3
254*5931b4e5SVedant Kumar        .byte   2                       ## Abbrev [2] 0x26:0x8 DW_TAG_variable
255*5931b4e5SVedant Kumar        .byte   3                       ## DW_AT_name
256*5931b4e5SVedant Kumar        .long   46                      ## DW_AT_type
257*5931b4e5SVedant Kumar                                        ## DW_AT_external
258*5931b4e5SVedant Kumar        .byte   1                       ## DW_AT_decl_file
259*5931b4e5SVedant Kumar        .byte   1                       ## DW_AT_decl_line
260*5931b4e5SVedant Kumar        .byte   3                       ## Abbrev [3] 0x2e:0x5 DW_TAG_volatile_type
261*5931b4e5SVedant Kumar        .long   51                      ## DW_AT_type
262*5931b4e5SVedant Kumar        .byte   4                       ## Abbrev [4] 0x33:0x4 DW_TAG_base_type
263*5931b4e5SVedant Kumar        .byte   4                       ## DW_AT_name
264*5931b4e5SVedant Kumar        .byte   5                       ## DW_AT_encoding
265*5931b4e5SVedant Kumar        .byte   4                       ## DW_AT_byte_size
266*5931b4e5SVedant Kumar        .byte   5                       ## Abbrev [5] 0x37:0x13 DW_TAG_subprogram
267*5931b4e5SVedant Kumar        .quad   Lfunc_begin0            ## DW_AT_low_pc
268*5931b4e5SVedant Kumar.set Lset4, Lfunc_end0-Lfunc_begin0     ## DW_AT_high_pc
269*5931b4e5SVedant Kumar        .long   Lset4
270*5931b4e5SVedant Kumar                                        ## DW_AT_APPLE_omit_frame_ptr
271*5931b4e5SVedant Kumar        .byte   1                       ## DW_AT_frame_base
272*5931b4e5SVedant Kumar        .byte   87
273*5931b4e5SVedant Kumar                                        ## DW_AT_call_all_calls
274*5931b4e5SVedant Kumar        .byte   6                       ## DW_AT_linkage_name
275*5931b4e5SVedant Kumar        .byte   5                       ## DW_AT_name
276*5931b4e5SVedant Kumar        .byte   1                       ## DW_AT_decl_file
277*5931b4e5SVedant Kumar        .byte   4                       ## DW_AT_decl_line
278*5931b4e5SVedant Kumar                                        ## DW_AT_external
279*5931b4e5SVedant Kumar                                        ## DW_AT_APPLE_optimized
280*5931b4e5SVedant Kumar        .byte   6                       ## Abbrev [6] 0x4a:0x1c DW_TAG_subprogram
281*5931b4e5SVedant Kumar        .quad   Lfunc_begin1            ## DW_AT_low_pc
282*5931b4e5SVedant Kumar.set Lset5, Lfunc_end1-Lfunc_begin1     ## DW_AT_high_pc
283*5931b4e5SVedant Kumar        .long   Lset5
284*5931b4e5SVedant Kumar                                        ## DW_AT_APPLE_omit_frame_ptr
285*5931b4e5SVedant Kumar        .byte   1                       ## DW_AT_frame_base
286*5931b4e5SVedant Kumar        .byte   87
287*5931b4e5SVedant Kumar                                        ## DW_AT_call_all_calls
288*5931b4e5SVedant Kumar        .byte   7                       ## DW_AT_name
289*5931b4e5SVedant Kumar        .byte   1                       ## DW_AT_decl_file
290*5931b4e5SVedant Kumar        .byte   8                       ## DW_AT_decl_line
291*5931b4e5SVedant Kumar        .long   51                      ## DW_AT_type
292*5931b4e5SVedant Kumar                                        ## DW_AT_external
293*5931b4e5SVedant Kumar                                        ## DW_AT_APPLE_optimized
294*5931b4e5SVedant Kumar        .byte   7                       ## Abbrev [7] 0x60:0x5 DW_TAG_call_site
295*5931b4e5SVedant Kumar        .long   55                      ## DW_AT_call_origin
296*5931b4e5SVedant Kumar        .byte   0                       ## End Of Children Mark
297*5931b4e5SVedant Kumar        .byte   0                       ## End Of Children Mark
298*5931b4e5SVedant Kumar        .section        __DWARF,__debug_macinfo,regular,debug
299*5931b4e5SVedant KumarLdebug_macinfo:
300*5931b4e5SVedant Kumar        .byte   0                       ## End Of Macro List Mark
301*5931b4e5SVedant Kumar        .section        __DWARF,__debug_names,regular,debug
302*5931b4e5SVedant KumarLdebug_names_begin:
303*5931b4e5SVedant Kumar.set Lset6, Lnames_end0-Lnames_start0   ## Header: unit length
304*5931b4e5SVedant Kumar        .long   Lset6
305*5931b4e5SVedant KumarLnames_start0:
306*5931b4e5SVedant Kumar        .short  5                       ## Header: version
307*5931b4e5SVedant Kumar        .short  0                       ## Header: padding
308*5931b4e5SVedant Kumar        .long   1                       ## Header: compilation unit count
309*5931b4e5SVedant Kumar        .long   0                       ## Header: local type unit count
310*5931b4e5SVedant Kumar        .long   0                       ## Header: foreign type unit count
311*5931b4e5SVedant Kumar        .long   4                       ## Header: bucket count
312*5931b4e5SVedant Kumar        .long   4                       ## Header: name count
313*5931b4e5SVedant Kumar.set Lset7, Lnames_abbrev_end0-Lnames_abbrev_start0 ## Header: abbreviation table size
314*5931b4e5SVedant Kumar        .long   Lset7
315*5931b4e5SVedant Kumar        .long   8                       ## Header: augmentation string size
316*5931b4e5SVedant Kumar        .ascii  "LLVM0700"              ## Header: augmentation string
317*5931b4e5SVedant Kumar.set Lset8, Lcu_begin0-Lsection_info    ## Compilation unit 0
318*5931b4e5SVedant Kumar        .long   Lset8
319*5931b4e5SVedant Kumar        .long   1                       ## Bucket 0
320*5931b4e5SVedant Kumar        .long   2                       ## Bucket 1
321*5931b4e5SVedant Kumar        .long   3                       ## Bucket 2
322*5931b4e5SVedant Kumar        .long   4                       ## Bucket 3
323*5931b4e5SVedant Kumar        .long   193495088               ## Hash in Bucket 0
324*5931b4e5SVedant Kumar        .long   193491849               ## Hash in Bucket 1
325*5931b4e5SVedant Kumar        .long   2090499946              ## Hash in Bucket 2
326*5931b4e5SVedant Kumar        .long   -1257882357             ## Hash in Bucket 3
327*5931b4e5SVedant Kumar        .long   115                     ## String in Bucket 0: int
328*5931b4e5SVedant Kumar        .long   119                     ## String in Bucket 1: foo
329*5931b4e5SVedant Kumar        .long   131                     ## String in Bucket 2: main
330*5931b4e5SVedant Kumar        .long   123                     ## String in Bucket 3: _Z3foov
331*5931b4e5SVedant Kumar.set Lset9, Lnames3-Lnames_entries0     ## Offset in Bucket 0
332*5931b4e5SVedant Kumar        .long   Lset9
333*5931b4e5SVedant Kumar.set Lset10, Lnames0-Lnames_entries0    ## Offset in Bucket 1
334*5931b4e5SVedant Kumar        .long   Lset10
335*5931b4e5SVedant Kumar.set Lset11, Lnames1-Lnames_entries0    ## Offset in Bucket 2
336*5931b4e5SVedant Kumar        .long   Lset11
337*5931b4e5SVedant Kumar.set Lset12, Lnames2-Lnames_entries0    ## Offset in Bucket 3
338*5931b4e5SVedant Kumar        .long   Lset12
339*5931b4e5SVedant KumarLnames_abbrev_start0:
340*5931b4e5SVedant Kumar        .byte   46                      ## Abbrev code
341*5931b4e5SVedant Kumar        .byte   46                      ## DW_TAG_subprogram
342*5931b4e5SVedant Kumar        .byte   3                       ## DW_IDX_die_offset
343*5931b4e5SVedant Kumar        .byte   19                      ## DW_FORM_ref4
344*5931b4e5SVedant Kumar        .byte   0                       ## End of abbrev
345*5931b4e5SVedant Kumar        .byte   0                       ## End of abbrev
346*5931b4e5SVedant Kumar        .byte   36                      ## Abbrev code
347*5931b4e5SVedant Kumar        .byte   36                      ## DW_TAG_base_type
348*5931b4e5SVedant Kumar        .byte   3                       ## DW_IDX_die_offset
349*5931b4e5SVedant Kumar        .byte   19                      ## DW_FORM_ref4
350*5931b4e5SVedant Kumar        .byte   0                       ## End of abbrev
351*5931b4e5SVedant Kumar        .byte   0                       ## End of abbrev
352*5931b4e5SVedant Kumar        .byte   0                       ## End of abbrev list
353*5931b4e5SVedant KumarLnames_abbrev_end0:
354*5931b4e5SVedant KumarLnames_entries0:
355*5931b4e5SVedant KumarLnames3:
356*5931b4e5SVedant Kumar        .byte   36                      ## Abbreviation code
357*5931b4e5SVedant Kumar        .long   51                      ## DW_IDX_die_offset
358*5931b4e5SVedant Kumar        .long   0                       ## End of list: int
359*5931b4e5SVedant KumarLnames0:
360*5931b4e5SVedant Kumar        .byte   46                      ## Abbreviation code
361*5931b4e5SVedant Kumar        .long   55                      ## DW_IDX_die_offset
362*5931b4e5SVedant Kumar        .long   0                       ## End of list: foo
363*5931b4e5SVedant KumarLnames1:
364*5931b4e5SVedant Kumar        .byte   46                      ## Abbreviation code
365*5931b4e5SVedant Kumar        .long   74                      ## DW_IDX_die_offset
366*5931b4e5SVedant Kumar        .long   0                       ## End of list: main
367*5931b4e5SVedant KumarLnames2:
368*5931b4e5SVedant Kumar        .byte   46                      ## Abbreviation code
369*5931b4e5SVedant Kumar        .long   55                      ## DW_IDX_die_offset
370*5931b4e5SVedant Kumar        .long   0                       ## End of list: _Z3foov
371*5931b4e5SVedant KumarLnames_end0:
372*5931b4e5SVedant Kumar
373*5931b4e5SVedant Kumar.subsections_via_symbols
374*5931b4e5SVedant Kumar        .section        __DWARF,__debug_line,regular,debug
375*5931b4e5SVedant KumarLsection_line:
376*5931b4e5SVedant KumarLline_table_start0:
377