Skip to content

Commit 6f7d8cd

Browse files
committed
Add s files
1 parent ea4eb9a commit 6f7d8cd

File tree

4 files changed

+509
-3
lines changed

4 files changed

+509
-3
lines changed
Lines changed: 175 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,175 @@
1+
.globaltype __stack_pointer, i32
2+
.text
3+
.file "signature-mismatch-debug-info-a.ll"
4+
.functype foo (i32) -> ()
5+
.functype test0 () -> ()
6+
.section .text.foo,"",@
7+
.weak foo # -- Begin function foo
8+
.type foo,@function
9+
foo: # @foo
10+
.Lfunc_begin0:
11+
.functype foo (i32) -> ()
12+
# %bb.0:
13+
# fallthrough-return
14+
end_function
15+
.Lfunc_end0:
16+
# -- End function
17+
.section .text.test0,"",@
18+
.globl test0 # -- Begin function test0
19+
.type test0,@function
20+
test0: # @test0
21+
.Lfunc_begin1:
22+
.functype test0 () -> ()
23+
# %bb.0:
24+
i32.const 3
25+
call foo
26+
# fallthrough-return
27+
end_function
28+
.Lfunc_end1:
29+
# -- End function
30+
.file 1 "a.c"
31+
.section .debug_abbrev,"",@
32+
.int8 1 # Abbreviation Code
33+
.int8 17 # DW_TAG_compile_unit
34+
.int8 1 # DW_CHILDREN_yes
35+
.int8 37 # DW_AT_producer
36+
.int8 14 # DW_FORM_strp
37+
.int8 19 # DW_AT_language
38+
.int8 5 # DW_FORM_data2
39+
.int8 3 # DW_AT_name
40+
.int8 14 # DW_FORM_strp
41+
.int8 16 # DW_AT_stmt_list
42+
.int8 23 # DW_FORM_sec_offset
43+
.int8 17 # DW_AT_low_pc
44+
.int8 1 # DW_FORM_addr
45+
.int8 85 # DW_AT_ranges
46+
.int8 23 # DW_FORM_sec_offset
47+
.int8 0 # EOM(1)
48+
.int8 0 # EOM(2)
49+
.int8 2 # Abbreviation Code
50+
.int8 46 # DW_TAG_subprogram
51+
.int8 0 # DW_CHILDREN_no
52+
.int8 17 # DW_AT_low_pc
53+
.int8 1 # DW_FORM_addr
54+
.int8 18 # DW_AT_high_pc
55+
.int8 6 # DW_FORM_data4
56+
.int8 64 # DW_AT_frame_base
57+
.int8 24 # DW_FORM_exprloc
58+
.int8 3 # DW_AT_name
59+
.int8 14 # DW_FORM_strp
60+
.int8 58 # DW_AT_decl_file
61+
.int8 11 # DW_FORM_data1
62+
.int8 59 # DW_AT_decl_line
63+
.int8 11 # DW_FORM_data1
64+
.int8 39 # DW_AT_prototyped
65+
.int8 25 # DW_FORM_flag_present
66+
.int8 63 # DW_AT_external
67+
.int8 25 # DW_FORM_flag_present
68+
.int8 0 # EOM(1)
69+
.int8 0 # EOM(2)
70+
.int8 3 # Abbreviation Code
71+
.int8 46 # DW_TAG_subprogram
72+
.int8 0 # DW_CHILDREN_no
73+
.int8 17 # DW_AT_low_pc
74+
.int8 1 # DW_FORM_addr
75+
.int8 18 # DW_AT_high_pc
76+
.int8 6 # DW_FORM_data4
77+
.int8 64 # DW_AT_frame_base
78+
.int8 24 # DW_FORM_exprloc
79+
.int8 3 # DW_AT_name
80+
.int8 14 # DW_FORM_strp
81+
.int8 58 # DW_AT_decl_file
82+
.int8 11 # DW_FORM_data1
83+
.int8 59 # DW_AT_decl_line
84+
.int8 11 # DW_FORM_data1
85+
.int8 63 # DW_AT_external
86+
.int8 25 # DW_FORM_flag_present
87+
.int8 0 # EOM(1)
88+
.int8 0 # EOM(2)
89+
.int8 0 # EOM(3)
90+
.section .debug_info,"",@
91+
.Lcu_begin0:
92+
.int32 .Ldebug_info_end0-.Ldebug_info_start0 # Length of Unit
93+
.Ldebug_info_start0:
94+
.int16 4 # DWARF version number
95+
.int32 .debug_abbrev0 # Offset Into Abbrev. Section
96+
.int8 4 # Address Size (in bytes)
97+
.int8 1 # Abbrev [1] 0xb:0x46 DW_TAG_compile_unit
98+
.int32 .Linfo_string0 # DW_AT_producer
99+
.int16 29 # DW_AT_language
100+
.int32 .Linfo_string1 # DW_AT_name
101+
.int32 .Lline_table_start0 # DW_AT_stmt_list
102+
.int32 0 # DW_AT_low_pc
103+
.int32 .Ldebug_ranges0 # DW_AT_ranges
104+
.int8 2 # Abbrev [2] 0x22:0x17 DW_TAG_subprogram
105+
.int32 .Lfunc_begin0 # DW_AT_low_pc
106+
.int32 .Lfunc_end0-.Lfunc_begin0 # DW_AT_high_pc
107+
.int8 7 # DW_AT_frame_base
108+
.int8 237
109+
.int8 3
110+
.int32 __stack_pointer
111+
.int8 159
112+
.int32 .Linfo_string2 # DW_AT_name
113+
.int8 1 # DW_AT_decl_file
114+
.int8 3 # DW_AT_decl_line
115+
# DW_AT_prototyped
116+
# DW_AT_external
117+
.int8 3 # Abbrev [3] 0x39:0x17 DW_TAG_subprogram
118+
.int32 .Lfunc_begin1 # DW_AT_low_pc
119+
.int32 .Lfunc_end1-.Lfunc_begin1 # DW_AT_high_pc
120+
.int8 7 # DW_AT_frame_base
121+
.int8 237
122+
.int8 3
123+
.int32 __stack_pointer
124+
.int8 159
125+
.int32 .Linfo_string3 # DW_AT_name
126+
.int8 1 # DW_AT_decl_file
127+
.int8 7 # DW_AT_decl_line
128+
# DW_AT_external
129+
.int8 0 # End Of Children Mark
130+
.Ldebug_info_end0:
131+
.section .debug_ranges,"",@
132+
.Ldebug_ranges0:
133+
.int32 .Lfunc_begin0
134+
.int32 .Lfunc_end0
135+
.int32 .Lfunc_begin1
136+
.int32 .Lfunc_end1
137+
.int32 0
138+
.int32 0
139+
.section .debug_str,"S",@
140+
.Linfo_string0:
141+
.asciz "clang version 19.0.0git" # string offset=0
142+
.Linfo_string1:
143+
.asciz "a.c" # string offset=24
144+
.Linfo_string2:
145+
.asciz "foo" # string offset=28
146+
.Linfo_string3:
147+
.asciz "test0" # string offset=32
148+
.ident "clang version 19.0.0git"
149+
.section .custom_section.producers,"",@
150+
.int8 2
151+
.int8 8
152+
.ascii "language"
153+
.int8 1
154+
.int8 3
155+
.ascii "C11"
156+
.int8 0
157+
.int8 12
158+
.ascii "processed-by"
159+
.int8 1
160+
.int8 5
161+
.ascii "clang"
162+
.int8 9
163+
.ascii "19.0.0git"
164+
.section .debug_str,"S",@
165+
.section .custom_section.target_features,"",@
166+
.int8 2
167+
.int8 43
168+
.int8 15
169+
.ascii "mutable-globals"
170+
.int8 43
171+
.int8 8
172+
.ascii "sign-ext"
173+
.section .debug_str,"S",@
174+
.section .debug_line,"",@
175+
.Lline_table_start0:
Lines changed: 176 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,176 @@
1+
.globaltype __stack_pointer, i32
2+
.text
3+
.file "signature-mismatch-debug-info-b.ll"
4+
.functype foo (i32, i32) -> ()
5+
.functype test1 () -> ()
6+
.section .text.foo,"",@
7+
.weak foo # -- Begin function foo
8+
.type foo,@function
9+
foo: # @foo
10+
.Lfunc_begin0:
11+
.functype foo (i32, i32) -> ()
12+
# %bb.0:
13+
# fallthrough-return
14+
end_function
15+
.Lfunc_end0:
16+
# -- End function
17+
.section .text.test1,"",@
18+
.globl test1 # -- Begin function test1
19+
.type test1,@function
20+
test1: # @test1
21+
.Lfunc_begin1:
22+
.functype test1 () -> ()
23+
# %bb.0:
24+
i32.const 4
25+
i32.const 5
26+
call foo
27+
# fallthrough-return
28+
end_function
29+
.Lfunc_end1:
30+
# -- End function
31+
.file 1 "b.c"
32+
.section .debug_abbrev,"",@
33+
.int8 1 # Abbreviation Code
34+
.int8 17 # DW_TAG_compile_unit
35+
.int8 1 # DW_CHILDREN_yes
36+
.int8 37 # DW_AT_producer
37+
.int8 14 # DW_FORM_strp
38+
.int8 19 # DW_AT_language
39+
.int8 5 # DW_FORM_data2
40+
.int8 3 # DW_AT_name
41+
.int8 14 # DW_FORM_strp
42+
.int8 16 # DW_AT_stmt_list
43+
.int8 23 # DW_FORM_sec_offset
44+
.int8 17 # DW_AT_low_pc
45+
.int8 1 # DW_FORM_addr
46+
.int8 85 # DW_AT_ranges
47+
.int8 23 # DW_FORM_sec_offset
48+
.int8 0 # EOM(1)
49+
.int8 0 # EOM(2)
50+
.int8 2 # Abbreviation Code
51+
.int8 46 # DW_TAG_subprogram
52+
.int8 0 # DW_CHILDREN_no
53+
.int8 17 # DW_AT_low_pc
54+
.int8 1 # DW_FORM_addr
55+
.int8 18 # DW_AT_high_pc
56+
.int8 6 # DW_FORM_data4
57+
.int8 64 # DW_AT_frame_base
58+
.int8 24 # DW_FORM_exprloc
59+
.int8 3 # DW_AT_name
60+
.int8 14 # DW_FORM_strp
61+
.int8 58 # DW_AT_decl_file
62+
.int8 11 # DW_FORM_data1
63+
.int8 59 # DW_AT_decl_line
64+
.int8 11 # DW_FORM_data1
65+
.int8 39 # DW_AT_prototyped
66+
.int8 25 # DW_FORM_flag_present
67+
.int8 63 # DW_AT_external
68+
.int8 25 # DW_FORM_flag_present
69+
.int8 0 # EOM(1)
70+
.int8 0 # EOM(2)
71+
.int8 3 # Abbreviation Code
72+
.int8 46 # DW_TAG_subprogram
73+
.int8 0 # DW_CHILDREN_no
74+
.int8 17 # DW_AT_low_pc
75+
.int8 1 # DW_FORM_addr
76+
.int8 18 # DW_AT_high_pc
77+
.int8 6 # DW_FORM_data4
78+
.int8 64 # DW_AT_frame_base
79+
.int8 24 # DW_FORM_exprloc
80+
.int8 3 # DW_AT_name
81+
.int8 14 # DW_FORM_strp
82+
.int8 58 # DW_AT_decl_file
83+
.int8 11 # DW_FORM_data1
84+
.int8 59 # DW_AT_decl_line
85+
.int8 11 # DW_FORM_data1
86+
.int8 63 # DW_AT_external
87+
.int8 25 # DW_FORM_flag_present
88+
.int8 0 # EOM(1)
89+
.int8 0 # EOM(2)
90+
.int8 0 # EOM(3)
91+
.section .debug_info,"",@
92+
.Lcu_begin0:
93+
.int32 .Ldebug_info_end0-.Ldebug_info_start0 # Length of Unit
94+
.Ldebug_info_start0:
95+
.int16 4 # DWARF version number
96+
.int32 .debug_abbrev0 # Offset Into Abbrev. Section
97+
.int8 4 # Address Size (in bytes)
98+
.int8 1 # Abbrev [1] 0xb:0x46 DW_TAG_compile_unit
99+
.int32 .Linfo_string0 # DW_AT_producer
100+
.int16 29 # DW_AT_language
101+
.int32 .Linfo_string1 # DW_AT_name
102+
.int32 .Lline_table_start0 # DW_AT_stmt_list
103+
.int32 0 # DW_AT_low_pc
104+
.int32 .Ldebug_ranges0 # DW_AT_ranges
105+
.int8 2 # Abbrev [2] 0x22:0x17 DW_TAG_subprogram
106+
.int32 .Lfunc_begin0 # DW_AT_low_pc
107+
.int32 .Lfunc_end0-.Lfunc_begin0 # DW_AT_high_pc
108+
.int8 7 # DW_AT_frame_base
109+
.int8 237
110+
.int8 3
111+
.int32 __stack_pointer
112+
.int8 159
113+
.int32 .Linfo_string2 # DW_AT_name
114+
.int8 1 # DW_AT_decl_file
115+
.int8 3 # DW_AT_decl_line
116+
# DW_AT_prototyped
117+
# DW_AT_external
118+
.int8 3 # Abbrev [3] 0x39:0x17 DW_TAG_subprogram
119+
.int32 .Lfunc_begin1 # DW_AT_low_pc
120+
.int32 .Lfunc_end1-.Lfunc_begin1 # DW_AT_high_pc
121+
.int8 7 # DW_AT_frame_base
122+
.int8 237
123+
.int8 3
124+
.int32 __stack_pointer
125+
.int8 159
126+
.int32 .Linfo_string3 # DW_AT_name
127+
.int8 1 # DW_AT_decl_file
128+
.int8 7 # DW_AT_decl_line
129+
# DW_AT_external
130+
.int8 0 # End Of Children Mark
131+
.Ldebug_info_end0:
132+
.section .debug_ranges,"",@
133+
.Ldebug_ranges0:
134+
.int32 .Lfunc_begin0
135+
.int32 .Lfunc_end0
136+
.int32 .Lfunc_begin1
137+
.int32 .Lfunc_end1
138+
.int32 0
139+
.int32 0
140+
.section .debug_str,"S",@
141+
.Linfo_string0:
142+
.asciz "clang version 19.0.0git" # string offset=0
143+
.Linfo_string1:
144+
.asciz "b.c" # string offset=24
145+
.Linfo_string2:
146+
.asciz "foo" # string offset=28
147+
.Linfo_string3:
148+
.asciz "test1" # string offset=32
149+
.ident "clang version 19.0.0git"
150+
.section .custom_section.producers,"",@
151+
.int8 2
152+
.int8 8
153+
.ascii "language"
154+
.int8 1
155+
.int8 3
156+
.ascii "C11"
157+
.int8 0
158+
.int8 12
159+
.ascii "processed-by"
160+
.int8 1
161+
.int8 5
162+
.ascii "clang"
163+
.int8 9
164+
.ascii "19.0.0git"
165+
.section .debug_str,"S",@
166+
.section .custom_section.target_features,"",@
167+
.int8 2
168+
.int8 43
169+
.int8 15
170+
.ascii "mutable-globals"
171+
.int8 43
172+
.int8 8
173+
.ascii "sign-ext"
174+
.section .debug_str,"S",@
175+
.section .debug_line,"",@
176+
.Lline_table_start0:

0 commit comments

Comments
 (0)