0
Fork 0
mirror of https://codeberg.org/ziglang/zig synced 2026-11-18 07:05:05 +00:00
zig/stage1
Jacob Young f08a8f0fc2 main: reimplement compiler debug flags
* Add `.llvmbc`/`.llvmir` to `ObjectFormat` for emitting unoptimized IR
* Replace `--verbose-air`, `--verbose-intern-pool`,
  `--verbose-generic-instances`, `--verbose-llvm-ir`, and
  `--verbose-llvm-bc` with various `--debug-log` scopes
  * `--debug-log illegal-air`: pre-legalized Air
  * `--debug-log legal-air`: post-legalized Air
  * `--debug-log air`: final Air with liveness
  * `--debug-log ip-stats`: InternPool statistics
  * `--debug-log ip-values`: InternPool values
  * `--debug-log ip-generic-instances`: InternPool generic instances
  * `--debug-log llvm-ir`: pre-optimized LLVM IR
  * `--debug-log opt-llvm-ir`: post-optimized LLVM IR
* Delete `--verbose-cimport` which does nothing
* Delete `--verbose-llvm-cpu-features` which is equivalent to looking at
  the outputs of `--show-builtin` and `--debug-log llvm-ir`
History 2026-10-21 10:04:01 -07:00
..
config.h.in build.zig: add support for using "zig c++" as the bootstrap c++ compiler 2023-10-16 23:07:04 +02:00
config.zig.in main: reimplement compiler debug flags 2026-10-21 10:04:01 -07:00
FuncGen.h Use single-space indentation for wasm2c's generated code 2026-07-30 19:06:55 +02:00
InputStream.h remove the zstd mechanism from the build process 2022-12-09 20:59:13 -07:00
panic.h use zig-wasm2c for bootstrapping 2022-12-06 12:15:04 -07:00
wasi.c stage1: add wasi_snapshot_preview1_clock_res_get to wasi.c 2026-02-02 23:14:06 -08:00
wasm.h Fix warning WasmMut_toC not all control paths return a value (#24267) 2025-06-26 05:39:08 +00:00
wasm2c.c Use single-space indentation for wasm2c's generated code 2026-07-30 19:06:55 +02:00
zig.h x86_64: llvm 23 changed the windows abi :( 2026-10-07 00:30:52 +02:00
zig1.wasm stage1: update zig1.wasm 2026-07-27 14:47:34 -04:00