Commit 8bcefef
committed
libc: omit memcpy, memmove and memset
LLVM provides these functions as intrinsics, and will generate calls to
libc when appropriate. They are exposed in the `ptr` module as
`copy_nonoverlapping_memory`, `copy_memory` and `set_memory`.1 parent 0e96369 commit 8bcefef
2 files changed
+5
-36
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
159 | 159 | | |
160 | 160 | | |
161 | 161 | | |
162 | | - | |
163 | | - | |
| 162 | + | |
| 163 | + | |
164 | 164 | | |
165 | 165 | | |
166 | 166 | | |
| |||
1452 | 1452 | | |
1453 | 1453 | | |
1454 | 1454 | | |
| 1455 | + | |
| 1456 | + | |
1455 | 1457 | | |
1456 | 1458 | | |
1457 | 1459 | | |
1458 | 1460 | | |
1459 | | - | |
1460 | | - | |
1461 | | - | |
1462 | | - | |
1463 | | - | |
1464 | | - | |
1465 | | - | |
1466 | | - | |
1467 | 1461 | | |
1468 | 1462 | | |
1469 | 1463 | | |
1470 | 1464 | | |
1471 | 1465 | | |
1472 | | - | |
1473 | | - | |
1474 | | - | |
1475 | 1466 | | |
1476 | 1467 | | |
1477 | 1468 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | 23 | | |
40 | 24 | | |
41 | 25 | | |
| |||
178 | 162 | | |
179 | 163 | | |
180 | 164 | | |
181 | | - | |
182 | | - | |
183 | | - | |
184 | | - | |
185 | | - | |
186 | | - | |
187 | | - | |
188 | 165 | | |
189 | 166 | | |
190 | 167 | | |
| |||
601 | 578 | | |
602 | 579 | | |
603 | 580 | | |
| 581 | + | |
604 | 582 | | |
605 | 583 | | |
606 | 584 | | |
| |||
0 commit comments