]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/gdb.dwarf2/dw2-canonicalize-type.S
Update Copyright year range in all files maintained by GDB.
[thirdparty/binutils-gdb.git] / gdb / testsuite / gdb.dwarf2 / dw2-canonicalize-type.S
CommitLineData
ecd75fc8 1/* Copyright 2012-2014 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
18main: .byte 0
19.Lmain_end:
20 .section .debug_info
21debug_start:
22 .4byte debug_end - 1f /* Length of Compilation Unit Info */
231:
24 .2byte 0x3 /* DWARF version number */
25 .4byte .Ldebug_abbrev0 /* Offset Into Abbrev. Section */
26 .byte 0x4 /* Pointer Size (in bytes) */
27 .uleb128 0x1 /* (DIE (0xb) DW_TAG_compile_unit) */
28 .ascii "GNU C 4.4.3\0" /* DW_AT_producer */
29 .byte 0x4 /* DW_AT_language = DW_LANG_C_plus_plus */
30 .ascii "1.c\0" /* DW_AT_name */
31 .4byte main /* DW_AT_low_pc */
32 .4byte .Lmain_end /* DW_AT_high_pc */
33 .uleb128 0x4 /* (DIE (0x3c) DW_TAG_subprogram) */
34 .ascii "f\0" /* DW_AT_name */
35/* Value 0 would require has_section_at_zero != 0 (which is true, though). */
36 .4byte main /* DW_AT_low_pc */
37 .4byte .Lmain_end /* DW_AT_high_pc */
38 .byte 0x1 /* DW_AT_prototyped */
39
40 .uleb128 0x5 /* (DIE (0x42) DW_TAG_formal_parameter) */
41 .4byte .Ltype_sizeof - debug_start /* DW_AT_type */
42 .ascii "param_sizeof\0" /* DW_AT_name */
43
44 .uleb128 0x5 /* (DIE (0x42) DW_TAG_formal_parameter) */
45 .4byte .Ltype_opnew - debug_start /* DW_AT_type */
46 .ascii "param_opnew\0" /* DW_AT_name */
47
48 .uleb128 0x5 /* (DIE (0x42) DW_TAG_formal_parameter) */
49 .4byte .Ltype_opdelete - debug_start /* DW_AT_type */
50 .ascii "param_opdelete\0" /* DW_AT_name */
51
52 .uleb128 0x5 /* (DIE (0x42) DW_TAG_formal_parameter) */
53 .4byte .Ltype_opnewarray - debug_start /* DW_AT_type */
54 .ascii "param_opnewarray\0" /* DW_AT_name */
55
56 .uleb128 0x5 /* (DIE (0x42) DW_TAG_formal_parameter) */
57 .4byte .Ltype_opdeletearray - debug_start /* DW_AT_type */
58 .ascii "param_opdeletearray\0" /* DW_AT_name */
59 .byte 0x0 /* end of children of DIE 0x3c */
60
61.Ltype_sizeof:
62 .uleb128 3 /* Abbrev: DW_TAG_base_type */
63 .ascii "typename<sizeof(int)>\0" /* DW_AT_name */
64 .byte 4 /* DW_AT_byte_size */
65 .byte 5 /* DW_AT_encoding */
66
67.Ltype_opnew:
68 .uleb128 3 /* Abbrev: DW_TAG_base_type */
69 .ascii "C::operator new(int)\0" /* DW_AT_name */
70 .byte 4 /* DW_AT_byte_size */
71 .byte 5 /* DW_AT_encoding */
72
73.Ltype_opdelete:
74 .uleb128 3 /* Abbrev: DW_TAG_base_type */
75 .ascii "C::operator delete(void *)\0" /* DW_AT_name */
76 .byte 4 /* DW_AT_byte_size */
77 .byte 5 /* DW_AT_encoding */
78
79.Ltype_opnewarray:
80 .uleb128 3 /* Abbrev: DW_TAG_base_type */
81 /* The correct new[] syntax is probably unsupported by GDB. */
82 .ascii "C::operator new[](int)\0" /* DW_AT_name */
83 .byte 4 /* DW_AT_byte_size */
84 .byte 5 /* DW_AT_encoding */
85
86.Ltype_opdeletearray:
87 .uleb128 3 /* Abbrev: DW_TAG_base_type */
88 /* The correct delete[] syntax is probably unsupported by GDB. */
89 .ascii "C::operator delete[](void *)\0" /* DW_AT_name */
90 .byte 4 /* DW_AT_byte_size */
91 .byte 5 /* DW_AT_encoding */
92
93 .byte 0x0 /* end of children of DIE 0xb */
94debug_end:
95
96 .section .debug_abbrev
97.Ldebug_abbrev0:
98 .uleb128 0x1 /* (abbrev code) */
99 .uleb128 0x11 /* (TAG: DW_TAG_compile_unit) */
100 .byte 0x1 /* DW_children_yes */
101 .uleb128 0x25 /* (DW_AT_producer) */
102 .uleb128 0x8 /* (DW_FORM_string) */
103 .uleb128 0x13 /* (DW_AT_language) */
104 .uleb128 0xb /* (DW_FORM_data1) */
105 .uleb128 0x3 /* (DW_AT_name) */
106 .uleb128 0x8 /* (DW_FORM_string) */
107 .uleb128 0x11 /* (DW_AT_low_pc) */
108 .uleb128 0x1 /* (DW_FORM_addr) */
109 .uleb128 0x12 /* (DW_AT_high_pc) */
110 .uleb128 0x1 /* (DW_FORM_addr) */
111 .byte 0x0
112 .byte 0x0
113 .uleb128 3 /* Abbrev code */
114 .uleb128 0x24 /* DW_TAG_base_type */
115 .byte 0 /* has_children */
116 .uleb128 0x3 /* DW_AT_name */
117 .uleb128 0x8 /* DW_FORM_string */
118 .uleb128 0xb /* DW_AT_byte_size */
119 .uleb128 0xb /* DW_FORM_data1 */
120 .uleb128 0x3e /* DW_AT_encoding */
121 .uleb128 0xb /* DW_FORM_data1 */
122 .byte 0x0 /* Terminator */
123 .byte 0x0 /* Terminator */
124 .uleb128 0x4 /* (abbrev code) */
125 .uleb128 0x2e /* (TAG: DW_TAG_subprogram) */
126 .byte 0x1 /* DW_children_yes */
127 .uleb128 0x3 /* (DW_AT_name) */
128 .uleb128 0x8 /* (DW_FORM_string) */
129 .uleb128 0x11 /* (DW_AT_low_pc) */
130 .uleb128 0x1 /* (DW_FORM_addr) */
131 .uleb128 0x12 /* (DW_AT_high_pc) */
132 .uleb128 0x1 /* (DW_FORM_addr) */
133 .uleb128 0x27 /* (DW_AT_prototyped) */
134 .uleb128 0xc /* (DW_FORM_flag) */
135 .byte 0x0
136 .byte 0x0
137 .uleb128 0x5 /* (abbrev code) */
138 .uleb128 0x5 /* (TAG: DW_TAG_formal_parameter) */
139 .byte 0x0 /* DW_children_no */
140 .uleb128 0x49 /* (DW_AT_type) */
141 .uleb128 0x13 /* (DW_FORM_ref4) */
142 .uleb128 0x3 /* DW_AT_name */
143 .uleb128 0x8 /* DW_FORM_string */
144 .byte 0x0
145 .byte 0x0
146 .byte 0x0