zig/lib/std/special
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
..
compiler_rt stage2: progress towards ability to compile compiler-rt 2021-09-21 23:21:07 -07:00
docs std docs: @This() in generic types 2021-04-12 09:31:45 +02:00
init-exe std/special: init-exe,lib make import(std) its own decl (#8160) 2021-03-05 19:13:05 -08:00
init-lib std: update usage of std.testing 2021-05-08 15:15:30 +03:00
build_runner.zig Print enum values for build options in help output (#9650) 2021-08-30 21:39:02 -04:00
c.zig stage2: prepare for building freestanding libc 2021-09-23 20:16:57 -07:00
c_stage1.zig stage2: prepare for building freestanding libc 2021-09-23 20:16:57 -07:00
compiler_rt.zig stage2: progress towards ability to compile compiler-rt 2021-09-21 23:21:07 -07:00
ssp.zig std: fix regressions from this branch 2021-09-01 17:54:07 -07:00
test_runner.zig stage2: implement @setAlignStack and 128-bit cmpxchg 2021-09-16 21:03:55 -07:00