0
Fork 0
mirror of https://codeberg.org/ziglang/zig synced 2026-11-18 07:05:05 +00:00
zig/src
Andrew Kelley eadbee2041 stage2: first pass at printing AIR/Liveness to text
* some instructions are not implemented yet
 * fix off-by-1 in Air.getMainBody
 * Compilation: use `@import("builtin")` rather than `std.builtin`
   for the values that are different for different build configurations.
 * Sema: avoid calling `addType` in between
   air_instructions.ensureUnusedCapacity and corresponding
   appendAssumeCapacity because it can possibly add an instruction.
 * Value: functions print their names
History 2021-07-20 12:19:16 -07:00
..
codegen stage2: compile error fixes for AIR memory layout branch 2021-07-20 12:19:16 -07:00
link plan9 linker: make more incremental 2021-07-20 12:19:16 -07:00
stage1 translate-c: Handle underscore when used as an identifier 2021-07-19 12:56:23 +03:00
translate_c fix doc comment in translate_c 2021-07-13 10:12:31 +03:00
Air.zig stage2: first pass at printing AIR/Liveness to text 2021-07-20 12:19:16 -07:00
AstGen.zig Sema: more AIR memory layout reworking progress 2021-07-20 12:19:16 -07:00
BuiltinFn.zig stage2: fix @asyncCall parameter count 2021-07-01 22:39:26 +03:00
Cache.zig std: implement a cross platform file locking abstraction 2021-06-29 14:25:04 -07:00
clang.zig translate-c: Remove usage of extern enum 2021-06-23 08:44:25 +03:00
clang_options.zig rename src-self-hosted/ to src/ 2020-09-21 18:38:55 -07:00
clang_options_data.zig zig cc: recognize more pie flags 2021-06-11 15:57:52 -07:00
codegen.zig codegen: add FnResult type which is a Result that removes externally_managed 2021-07-20 12:19:16 -07:00
Compilation.zig stage2: first pass at printing AIR/Liveness to text 2021-07-20 12:19:16 -07:00
config.zig.in add ast-check flag to zig fmt, fix found bugs 2021-06-14 00:16:40 +03:00
DepTokenizer.zig std, src, doc, test: remove unused variables 2021-06-21 17:03:03 -07:00
empty.zig fix wrong entrypoint, undefined package, and wrong build option 2020-12-07 17:27:09 -07:00
glibc.zig std, src, doc, test: remove unused variables 2021-06-21 17:03:03 -07:00
introspect.zig zig build: use ZIG_GLOBAL_CACHE_DIR 2021-03-25 22:05:21 -04:00
libc_installation.zig native libc detection: respect spaces in CC env var 2021-06-09 17:26:58 -04:00
libcxx.zig fix comments. 2021-06-15 11:50:13 +09:00
libtsan.zig CLI: remove --verbose-ast and --verbose-tokenize 2021-06-09 14:38:27 -07:00
libunwind.zig CLI: remove --verbose-ast and --verbose-tokenize 2021-06-09 14:38:27 -07:00
link.zig stage2: Air and Liveness are passed ephemerally 2021-07-20 12:19:16 -07:00
Liveness.zig Sema: remove br_block_flat AIR instruction 2021-07-20 12:19:16 -07:00
main.zig CLI: add plan9 -ofmt help text 2021-07-20 12:19:16 -07:00
mingw.zig std, src, doc, test: remove unused variables 2021-06-21 17:03:03 -07:00
Module.zig stage2: first pass at printing AIR/Liveness to text 2021-07-20 12:19:16 -07:00
musl.zig std, src, doc, test: remove unused variables 2021-06-21 17:03:03 -07:00
Package.zig Breaking hash map changes for 0.8.0 2021-06-03 17:02:16 -05:00
print_air.zig stage2: first pass at printing AIR/Liveness to text 2021-07-20 12:19:16 -07:00
print_env.zig fix code broken from previous commit 2021-06-21 17:03:03 -07:00
print_targets.zig fix code broken from previous commit 2021-06-21 17:03:03 -07:00
RangeSet.zig AstGen: decouple from Module/Compilation 2021-05-02 17:08:19 -07:00
register_manager.zig stage2: first pass over Module.zig for AIR memory layout 2021-07-20 12:19:16 -07:00
Sema.zig stage2: first pass at printing AIR/Liveness to text 2021-07-20 12:19:16 -07:00
stage1.zig avoid calling into stage1 backend when AstGen fails 2021-07-02 13:27:28 -07:00
target.zig initial plan9 boilerplate 2021-07-08 14:10:49 -07:00
test.zig stage2: improve AstGen FileNotFound error message 2021-07-02 15:27:00 -07:00
ThreadPool.zig std.Thread: fixup ThreadPool.zig 2021-06-30 21:49:00 -05:00
tracy.zig fix code broken from previous commit 2021-06-21 17:03:03 -07:00
translate_c.zig translate-c: Handle underscore when used as an identifier 2021-07-19 12:56:23 +03:00
type.zig C backend: TypedefMap is now ArrayHashMap 2021-07-12 12:40:32 -07:00
TypedValue.zig rename src-self-hosted/ to src/ 2020-09-21 18:38:55 -07:00
value.zig stage2: first pass at printing AIR/Liveness to text 2021-07-20 12:19:16 -07:00
WaitGroup.zig organize std lib concurrency primitives and add RwLock 2021-01-14 20:41:37 -07:00
wasi_libc.zig wasi-libc: remove crt1.o as it's not WASI ABI compatible 2021-07-11 00:06:47 +02:00
windows_com.hpp compiling on mingw is now supported (#1542) 2018-09-18 00:13:17 -04:00
windows_sdk.cpp fixed mingw compilation 2018-10-27 11:35:01 -04:00
windows_sdk.h fix regressed stage2 test harness 2020-09-21 21:14:01 -07:00
windows_sdk.zig add ast-check flag to zig fmt, fix found bugs 2021-06-14 00:16:40 +03:00
zig_clang.cpp translate-c: Remove usage of extern enum 2021-06-23 08:44:25 +03:00
zig_clang.h translate-c: Remove usage of extern enum 2021-06-23 08:44:25 +03:00
zig_clang_cc1_main.cpp fix to compile against 12.0.0-rc2 2021-02-25 19:41:30 -08:00
zig_clang_cc1as_main.cpp Update clang drivers 2020-12-16 12:18:14 +01:00
zig_clang_driver.cpp Fix argument forwarding to LLVM on Windows 2021-07-10 15:58:38 -04:00
zig_llvm-ar.cpp Fix argument forwarding to LLVM on Windows 2021-07-10 15:58:38 -04:00
zig_llvm.cpp Remove mention of lldMachO from the project 2021-06-29 23:38:19 +02:00
zig_llvm.h Remove mention of lldMachO from the project 2021-06-29 23:38:19 +02:00
Zir.zig Sema: more AIR memory layout reworking progress 2021-07-20 12:19:16 -07:00