|
1 |
| - .globaltype __stack_pointer, i32 |
2 | 1 | .functype foo (i32, i32) -> ()
|
3 | 2 | .functype test1 () -> ()
|
4 | 3 | .section .text.foo,"",@
|
5 |
| - .weak foo # -- Begin function foo |
| 4 | + .weak foo |
6 | 5 | .type foo,@function
|
7 |
| -foo: # @foo |
8 |
| -.Lfunc_begin0: |
| 6 | +foo: |
9 | 7 | .functype foo (i32, i32) -> ()
|
10 |
| -# %bb.0: |
11 |
| - # fallthrough-return |
12 | 8 | end_function
|
13 |
| -.Lfunc_end0: |
14 |
| - # -- End function |
| 9 | + |
15 | 10 | .section .text.test1,"",@
|
16 |
| - .globl test1 # -- Begin function test1 |
| 11 | + .globl test1 |
17 | 12 | .type test1,@function
|
18 |
| -test1: # @test1 |
19 |
| -.Lfunc_begin1: |
| 13 | +test1: |
20 | 14 | .functype test1 () -> ()
|
21 |
| -# %bb.0: |
22 | 15 | i32.const 4
|
23 | 16 | i32.const 5
|
24 | 17 | call foo
|
25 |
| - # fallthrough-return |
26 | 18 | end_function
|
27 |
| -.Lfunc_end1: |
28 |
| - # -- End function |
29 |
| - .file 1 "b.c" |
30 |
| - .section .debug_abbrev,"",@ |
31 |
| - .int8 1 # Abbreviation Code |
32 |
| - .int8 17 # DW_TAG_compile_unit |
33 |
| - .int8 1 # DW_CHILDREN_yes |
34 |
| - .int8 37 # DW_AT_producer |
35 |
| - .int8 14 # DW_FORM_strp |
36 |
| - .int8 19 # DW_AT_language |
37 |
| - .int8 5 # DW_FORM_data2 |
38 |
| - .int8 3 # DW_AT_name |
39 |
| - .int8 14 # DW_FORM_strp |
40 |
| - .int8 16 # DW_AT_stmt_list |
41 |
| - .int8 23 # DW_FORM_sec_offset |
42 |
| - .int8 17 # DW_AT_low_pc |
43 |
| - .int8 1 # DW_FORM_addr |
44 |
| - .int8 85 # DW_AT_ranges |
45 |
| - .int8 23 # DW_FORM_sec_offset |
46 |
| - .int8 0 # EOM(1) |
47 |
| - .int8 0 # EOM(2) |
48 |
| - .int8 2 # Abbreviation Code |
49 |
| - .int8 46 # DW_TAG_subprogram |
50 |
| - .int8 0 # DW_CHILDREN_no |
51 |
| - .int8 17 # DW_AT_low_pc |
52 |
| - .int8 1 # DW_FORM_addr |
53 |
| - .int8 18 # DW_AT_high_pc |
54 |
| - .int8 6 # DW_FORM_data4 |
55 |
| - .int8 64 # DW_AT_frame_base |
56 |
| - .int8 24 # DW_FORM_exprloc |
57 |
| - .int8 3 # DW_AT_name |
58 |
| - .int8 14 # DW_FORM_strp |
59 |
| - .int8 58 # DW_AT_decl_file |
60 |
| - .int8 11 # DW_FORM_data1 |
61 |
| - .int8 59 # DW_AT_decl_line |
62 |
| - .int8 11 # DW_FORM_data1 |
63 |
| - .int8 39 # DW_AT_prototyped |
64 |
| - .int8 25 # DW_FORM_flag_present |
65 |
| - .int8 63 # DW_AT_external |
66 |
| - .int8 25 # DW_FORM_flag_present |
67 |
| - .int8 0 # EOM(1) |
68 |
| - .int8 0 # EOM(2) |
69 |
| - .int8 3 # Abbreviation Code |
70 |
| - .int8 46 # DW_TAG_subprogram |
71 |
| - .int8 0 # DW_CHILDREN_no |
72 |
| - .int8 17 # DW_AT_low_pc |
73 |
| - .int8 1 # DW_FORM_addr |
74 |
| - .int8 18 # DW_AT_high_pc |
75 |
| - .int8 6 # DW_FORM_data4 |
76 |
| - .int8 64 # DW_AT_frame_base |
77 |
| - .int8 24 # DW_FORM_exprloc |
78 |
| - .int8 3 # DW_AT_name |
79 |
| - .int8 14 # DW_FORM_strp |
80 |
| - .int8 58 # DW_AT_decl_file |
81 |
| - .int8 11 # DW_FORM_data1 |
82 |
| - .int8 59 # DW_AT_decl_line |
83 |
| - .int8 11 # DW_FORM_data1 |
84 |
| - .int8 63 # DW_AT_external |
85 |
| - .int8 25 # DW_FORM_flag_present |
86 |
| - .int8 0 # EOM(1) |
87 |
| - .int8 0 # EOM(2) |
88 |
| - .int8 0 # EOM(3) |
| 19 | + |
89 | 20 | .section .debug_info,"",@
|
90 |
| -.Lcu_begin0: |
91 |
| - .int32 .Ldebug_info_end0-.Ldebug_info_start0 # Length of Unit |
92 |
| -.Ldebug_info_start0: |
93 |
| - .int16 4 # DWARF version number |
94 |
| - .int32 .debug_abbrev0 # Offset Into Abbrev. Section |
95 |
| - .int8 4 # Address Size (in bytes) |
96 |
| - .int8 1 # Abbrev [1] 0xb:0x46 DW_TAG_compile_unit |
97 |
| - .int32 .Linfo_string0 # DW_AT_producer |
98 |
| - .int16 29 # DW_AT_language |
99 |
| - .int32 .Linfo_string1 # DW_AT_name |
100 |
| - .int32 .Lline_table_start0 # DW_AT_stmt_list |
101 |
| - .int32 0 # DW_AT_low_pc |
102 |
| - .int32 .Ldebug_ranges0 # DW_AT_ranges |
103 |
| - .int8 2 # Abbrev [2] 0x22:0x17 DW_TAG_subprogram |
104 |
| - .int32 .Lfunc_begin0 # DW_AT_low_pc |
105 |
| - .int32 .Lfunc_end0-.Lfunc_begin0 # DW_AT_high_pc |
106 |
| - .int8 7 # DW_AT_frame_base |
107 |
| - .int8 237 |
108 |
| - .int8 3 |
109 |
| - .int32 __stack_pointer |
110 |
| - .int8 159 |
111 |
| - .int32 .Linfo_string2 # DW_AT_name |
112 |
| - .int8 1 # DW_AT_decl_file |
113 |
| - .int8 3 # DW_AT_decl_line |
114 |
| - # DW_AT_prototyped |
115 |
| - # DW_AT_external |
116 |
| - .int8 3 # Abbrev [3] 0x39:0x17 DW_TAG_subprogram |
117 |
| - .int32 .Lfunc_begin1 # DW_AT_low_pc |
118 |
| - .int32 .Lfunc_end1-.Lfunc_begin1 # DW_AT_high_pc |
119 |
| - .int8 7 # DW_AT_frame_base |
120 |
| - .int8 237 |
121 |
| - .int8 3 |
122 |
| - .int32 __stack_pointer |
123 |
| - .int8 159 |
124 |
| - .int32 .Linfo_string3 # DW_AT_name |
125 |
| - .int8 1 # DW_AT_decl_file |
126 |
| - .int8 7 # DW_AT_decl_line |
127 |
| - # DW_AT_external |
128 |
| - .int8 0 # End Of Children Mark |
129 |
| -.Ldebug_info_end0: |
| 21 | + .int32 foo |
| 22 | + .int32 test1 |
0 commit comments