]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/gdb.dwarf2/dw2-canonicalize-type.S
Update year range in copyright notice of all files owned by the GDB project.
[thirdparty/binutils-gdb.git] / gdb / testsuite / gdb.dwarf2 / dw2-canonicalize-type.S
CommitLineData
32d0add0 1/* Copyright 2012-2015 Free Software Foundation, Inc.
04e7407c
JK
2
3 This program is free software; you can redistribute it and/or modify
4 it under the terms of the GNU General Public License as published by
5 the Free Software Foundation; either version 3 of the License, or
6 (at your option) any later version.
7
8 This program is distributed in the hope that it will be useful,
9 but WITHOUT ANY WARRANTY; without even the implied warranty of
10 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 GNU General Public License for more details.
12
13 You should have received a copy of the GNU General Public License
14 along with this program. If not, see <http://www.gnu.org/licenses/>. */
15
16 .text
17 .globl main
621661e3
MR
18main:
19 .4byte 0
04e7407c
JK
20.Lmain_end:
21 .section .debug_info
22debug_start:
23 .4byte debug_end - 1f /* Length of Compilation Unit Info */
241:
25 .2byte 0x3 /* DWARF version number */
26 .4byte .Ldebug_abbrev0 /* Offset Into Abbrev. Section */
27 .byte 0x4 /* Pointer Size (in bytes) */
28 .uleb128 0x1 /* (DIE (0xb) DW_TAG_compile_unit) */
29 .ascii "GNU C 4.4.3\0" /* DW_AT_producer */
30 .byte 0x4 /* DW_AT_language = DW_LANG_C_plus_plus */
31 .ascii "1.c\0" /* DW_AT_name */
32 .4byte main /* DW_AT_low_pc */
33 .4byte .Lmain_end /* DW_AT_high_pc */
34 .uleb128 0x4 /* (DIE (0x3c) DW_TAG_subprogram) */
35 .ascii "f\0" /* DW_AT_name */
36/* Value 0 would require has_section_at_zero != 0 (which is true, though). */
37 .4byte main /* DW_AT_low_pc */
38 .4byte .Lmain_end /* DW_AT_high_pc */
39 .byte 0x1 /* DW_AT_prototyped */
40
41 .uleb128 0x5 /* (DIE (0x42) DW_TAG_formal_parameter) */
42 .4byte .Ltype_sizeof - debug_start /* DW_AT_type */
43 .ascii "param_sizeof\0" /* DW_AT_name */
44
45 .uleb128 0x5 /* (DIE (0x42) DW_TAG_formal_parameter) */
46 .4byte .Ltype_opnew - debug_start /* DW_AT_type */
47 .ascii "param_opnew\0" /* DW_AT_name */
48
49 .uleb128 0x5 /* (DIE (0x42) DW_TAG_formal_parameter) */
50 .4byte .Ltype_opdelete - debug_start /* DW_AT_type */
51 .ascii "param_opdelete\0" /* DW_AT_name */
52
53 .uleb128 0x5 /* (DIE (0x42) DW_TAG_formal_parameter) */
54 .4byte .Ltype_opnewarray - debug_start /* DW_AT_type */
55 .ascii "param_opnewarray\0" /* DW_AT_name */
56
57 .uleb128 0x5 /* (DIE (0x42) DW_TAG_formal_parameter) */
58 .4byte .Ltype_opdeletearray - debug_start /* DW_AT_type */
59 .ascii "param_opdeletearray\0" /* DW_AT_name */
60 .byte 0x0 /* end of children of DIE 0x3c */
61
62.Ltype_sizeof:
63 .uleb128 3 /* Abbrev: DW_TAG_base_type */
64 .ascii "typename<sizeof(int)>\0" /* DW_AT_name */
65 .byte 4 /* DW_AT_byte_size */
66 .byte 5 /* DW_AT_encoding */
67
68.Ltype_opnew:
69 .uleb128 3 /* Abbrev: DW_TAG_base_type */
70 .ascii "C::operator new(int)\0" /* DW_AT_name */
71 .byte 4 /* DW_AT_byte_size */
72 .byte 5 /* DW_AT_encoding */
73
74.Ltype_opdelete:
75 .uleb128 3 /* Abbrev: DW_TAG_base_type */
76 .ascii "C::operator delete(void *)\0" /* DW_AT_name */
77 .byte 4 /* DW_AT_byte_size */
78 .byte 5 /* DW_AT_encoding */
79
80.Ltype_opnewarray:
81 .uleb128 3 /* Abbrev: DW_TAG_base_type */
82 /* The correct new[] syntax is probably unsupported by GDB. */
83 .ascii "C::operator new[](int)\0" /* DW_AT_name */
84 .byte 4 /* DW_AT_byte_size */
85 .byte 5 /* DW_AT_encoding */
86
87.Ltype_opdeletearray:
88 .uleb128 3 /* Abbrev: DW_TAG_base_type */
89 /* The correct delete[] syntax is probably unsupported by GDB. */
90 .ascii "C::operator delete[](void *)\0" /* DW_AT_name */
91 .byte 4 /* DW_AT_byte_size */
92 .byte 5 /* DW_AT_encoding */
93
94 .byte 0x0 /* end of children of DIE 0xb */
95debug_end:
96
97 .section .debug_abbrev
98.Ldebug_abbrev0:
99 .uleb128 0x1 /* (abbrev code) */
100 .uleb128 0x11 /* (TAG: DW_TAG_compile_unit) */
101 .byte 0x1 /* DW_children_yes */
102 .uleb128 0x25 /* (DW_AT_producer) */
103 .uleb128 0x8 /* (DW_FORM_string) */
104 .uleb128 0x13 /* (DW_AT_language) */
105 .uleb128 0xb /* (DW_FORM_data1) */
106 .uleb128 0x3 /* (DW_AT_name) */
107 .uleb128 0x8 /* (DW_FORM_string) */
108 .uleb128 0x11 /* (DW_AT_low_pc) */
109 .uleb128 0x1 /* (DW_FORM_addr) */
110 .uleb128 0x12 /* (DW_AT_high_pc) */
111 .uleb128 0x1 /* (DW_FORM_addr) */
112 .byte 0x0
113 .byte 0x0
114 .uleb128 3 /* Abbrev code */
115 .uleb128 0x24 /* DW_TAG_base_type */
116 .byte 0 /* has_children */
117 .uleb128 0x3 /* DW_AT_name */
118 .uleb128 0x8 /* DW_FORM_string */
119 .uleb128 0xb /* DW_AT_byte_size */
120 .uleb128 0xb /* DW_FORM_data1 */
121 .uleb128 0x3e /* DW_AT_encoding */
122 .uleb128 0xb /* DW_FORM_data1 */
123 .byte 0x0 /* Terminator */
124 .byte 0x0 /* Terminator */
125 .uleb128 0x4 /* (abbrev code) */
126 .uleb128 0x2e /* (TAG: DW_TAG_subprogram) */
127 .byte 0x1 /* DW_children_yes */
128 .uleb128 0x3 /* (DW_AT_name) */
129 .uleb128 0x8 /* (DW_FORM_string) */
130 .uleb128 0x11 /* (DW_AT_low_pc) */
131 .uleb128 0x1 /* (DW_FORM_addr) */
132 .uleb128 0x12 /* (DW_AT_high_pc) */
133 .uleb128 0x1 /* (DW_FORM_addr) */
134 .uleb128 0x27 /* (DW_AT_prototyped) */
135 .uleb128 0xc /* (DW_FORM_flag) */
136 .byte 0x0
137 .byte 0x0
138 .uleb128 0x5 /* (abbrev code) */
139 .uleb128 0x5 /* (TAG: DW_TAG_formal_parameter) */
140 .byte 0x0 /* DW_children_no */
141 .uleb128 0x49 /* (DW_AT_type) */
142 .uleb128 0x13 /* (DW_FORM_ref4) */
143 .uleb128 0x3 /* DW_AT_name */
144 .uleb128 0x8 /* DW_FORM_string */
145 .byte 0x0
146 .byte 0x0
147 .byte 0x0