Andrew Kelley
418105589a
stage2: prepare for building freestanding libc
...
Extracts lib/std/special/c_stage1.zig from lib/std/special/c.zig.
When the self-hosted compiler is further along, all the logic from c_stage1.zig will
be migrated back c.zig and then c_stage1.zig will be deleted. Until then we have a
simpler implementation of c.zig that only uses features already implemented in self-hosted.
So far it only contains memcpy and memset, with slightly different
(arguably more correct!) implementations that are compatible with
self-hosted.
Additionally, this commit improves the LLVM backend:
* use the more efficient and convenient fnInfo() when lowering function
type info.
* fix incremental compilation not deleting all basic blocks of a
function.
* hook up calling conventions
* hook up the following function attributes:
- noredzone, nounwind, uwtable, minsize, optsize, sanitize_thread
2021-09-23 20:16:57 -07:00
..
2021-08-29 11:57:32 +02:00
2021-09-01 12:21:30 -07:00
2021-09-16 13:32:55 +03:00
2021-08-24 12:25:09 -07:00
2021-09-19 23:03:18 -07:00
2021-09-01 17:54:06 -07:00
2021-09-08 13:40:43 -04:00
2021-08-24 12:25:09 -07:00
2021-09-01 17:54:07 -07:00
2021-09-19 23:03:18 -07:00
2021-09-19 13:52:56 +02:00
2021-09-19 13:52:56 +02:00
2021-08-24 12:25:09 -07:00
2021-09-23 06:28:09 +02:00
2021-09-22 12:09:16 +03:00
2021-08-24 12:25:09 -07:00
2021-09-16 11:35:12 +02:00
2021-09-23 13:57:55 -04:00
2021-08-24 12:25:09 -07:00
2021-09-23 20:16:57 -07:00
2021-08-12 10:48:54 -07:00
2021-08-24 12:25:09 -07:00
2021-09-20 02:06:10 -04:00
2021-09-14 19:02:23 +03:00
2021-08-24 12:25:09 -07:00
2021-08-24 12:25:09 -07:00
2021-09-16 13:32:55 +03:00
2021-09-22 14:33:33 -04:00
2021-09-19 13:52:56 +02:00
2021-09-12 19:32:40 +03:00
2021-08-24 12:25:09 -07:00
2021-08-24 12:25:09 -07:00
2021-08-24 12:25:09 -07:00
2021-08-24 12:25:09 -07:00
2021-08-24 12:25:09 -07:00
2021-08-24 12:25:09 -07:00
2021-08-24 12:25:09 -07:00
2021-09-22 00:46:37 -04:00
2021-09-20 02:29:04 +02:00
2021-09-01 17:54:07 -07:00
2021-09-19 13:52:56 +02:00
2021-09-19 13:52:56 +02:00
2021-08-24 12:25:09 -07:00
2021-08-24 12:25:09 -07:00
2021-09-09 14:25:44 +02:00
2021-08-24 12:25:09 -07:00
2021-09-01 17:54:07 -07:00
2021-09-01 17:54:06 -07:00
2021-09-01 17:54:06 -07:00
2021-09-19 14:02:22 +02:00
2021-08-24 12:25:09 -07:00
2021-09-01 17:54:06 -07:00
2021-09-19 13:52:56 +02:00
2021-09-01 17:54:06 -07:00
2021-09-01 17:54:07 -07:00
2021-09-19 13:52:56 +02:00
2021-08-24 12:25:09 -07:00
2021-09-01 17:54:06 -07:00
2021-08-24 12:25:09 -07:00
2021-09-19 13:52:56 +02:00
2021-09-20 01:58:18 -04:00
2021-08-24 12:25:09 -07:00
2021-08-24 12:25:09 -07:00
2021-08-31 23:05:01 +02:00
2021-09-14 19:02:23 +03:00
2021-09-22 12:09:16 +03:00
2021-09-20 02:29:04 +02:00
2021-09-19 13:52:56 +02:00
2021-09-16 11:35:12 +02:00
2021-08-24 12:25:09 -07:00
2021-09-12 23:36:44 -04:00
2021-08-24 12:25:09 -07:00
2021-08-24 12:25:09 -07:00
2021-09-19 13:52:56 +02:00
2021-09-19 13:52:56 +02:00
2021-08-24 12:25:09 -07:00
2021-08-24 12:25:09 -07:00
2021-08-24 12:25:09 -07:00
2021-08-24 12:25:09 -07:00
2021-08-24 12:25:09 -07:00
2021-08-24 12:25:09 -07:00
2021-09-22 14:14:03 -05:00
2021-08-24 12:25:09 -07:00
2021-08-24 12:25:09 -07:00
2021-08-24 12:25:09 -07:00
2021-09-01 17:54:07 -07:00
2021-09-14 19:02:23 +03:00
2021-09-19 13:52:56 +02:00
2021-08-29 11:57:32 +02:00
2021-08-24 12:25:09 -07:00
2021-08-24 12:25:09 -07:00
2021-09-07 15:08:51 -04:00