0
Fork 0
mirror of https://codeberg.org/ziglang/zig synced 2026-11-18 07:05:05 +00:00
zig/src
Andrew Kelley ffaa045429 stage2: add zig_backend to the cache hash
This makes stage2 and stage3 have different cache namespaces, so that
building something with stage3 does not try to reuse the same cached
artifacts as were produced by stage2. This makes sense since the code
of stage3 is produced by the self-hosted compiler, whereas the code of
stage2 is produced by the bootstrap compiler. Note also that stage4 and
stage3 will share the same zig_backend, end hence cache namespace.
Ideally stage4 and stage3 are identical binaries, so this checks out.
History 2022-04-21 13:29:46 -07:00
..
arch stage2: use indexes for Decl objects 2022-04-20 17:37:35 -07:00
codegen stage2: use indexes for Decl objects 2022-04-20 17:37:35 -07:00
link macho: create LlvmObject in createEmpty only 2022-04-21 10:08:37 -04:00
stage1 wasm: Add support for debug info 2022-04-18 13:11:37 +02:00
translate_c stage2: fix bugs preventing stage2 from building stage3 with LLVM 2022-04-15 23:32:26 +03:00
Air.zig stage2: handle assembly input names 2022-03-31 01:33:28 -04:00
AstGen.zig AstGen: fix defer generation in breakExpr 2022-04-15 22:33:07 +03:00
BuiltinFn.zig AstGen: implement @prefetch() builtin 2021-12-10 23:09:02 +01:00
Cache.zig stage2: Only bypass flock on WASI 2022-04-18 23:08:00 -07:00
clang.zig stage2: fix bugs preventing stage2 from building stage3 with LLVM 2022-04-15 23:32:26 +03:00
clang_options.zig zig cc: honor all -m and -mno- CPU feature flags 2021-11-26 19:59:33 -07:00
clang_options_data.zig zig cc: integrate with -fstack-check, -fno-stack-check 2022-03-04 18:10:37 -07:00
codegen.zig stage2: use indexes for Decl objects 2022-04-20 17:37:35 -07:00
Compilation.zig stage2: add zig_backend to the cache hash 2022-04-21 13:29:46 -07:00
config.zig.in macho: dump linker's state as JSON 2021-10-22 12:50:25 +02:00
crash_report.zig stage2: use indexes for Decl objects 2022-04-20 17:37:35 -07:00
DepTokenizer.zig allocgate: renamed getAllocator function to allocator 2021-11-30 23:32:47 +00:00
empty.zig fix wrong entrypoint, undefined package, and wrong build option 2020-12-07 17:27:09 -07:00
glibc.zig glibc: clean up build logic 2022-01-14 12:39:06 -07:00
InternPool.zig stage2: rename InternArena to InternPool 2022-04-06 11:50:23 -07:00
introspect.zig stage2: Move WASI/Zig-specific selfExePath to introspect.zig 2022-04-18 23:06:49 -07:00
libc_installation.zig stage2: remove dependencies on async functions 2022-04-02 19:18:41 -07:00
libcxx.zig remove __muloti4 from libc++ 2022-01-30 14:30:46 +01:00
libtsan.zig stage2: fix path to cache artifacts in libcxx, 2022-01-02 13:16:17 -07:00
libunwind.zig stage2: fix path to cache artifacts in libcxx, 2022-01-02 13:16:17 -07:00
link.zig stage2: use indexes for Decl objects 2022-04-20 17:37:35 -07:00
Liveness.zig stage2: progress towards stage3 2022-04-14 10:12:45 -07:00
main.zig stage2: use indexes for Decl objects 2022-04-20 17:37:35 -07:00
mingw.zig Avoid depending on child process execution when not supported by host OS 2022-02-06 22:21:46 -07:00
Module.zig stage2: use indexes for Decl objects 2022-04-20 17:37:35 -07:00
musl.zig stage2: introduce CacheMode 2022-01-02 13:16:17 -07:00
Package.zig allocgate: std Allocator interface refactor 2021-11-30 23:32:47 +00:00
print_air.zig stage2: use indexes for Decl objects 2022-04-20 17:37:35 -07:00
print_env.zig stage2: Move WASI/Zig-specific selfExePath to introspect.zig 2022-04-18 23:06:49 -07:00
print_targets.zig allocgate: std Allocator interface refactor 2021-11-30 23:32:47 +00:00
print_zir.zig stage2: fix print_zir for .builtin_src 2022-03-31 02:12:44 -04:00
RangeSet.zig stage2: use indexes for Decl objects 2022-04-20 17:37:35 -07:00
register_manager.zig stage2 regalloc: fix tryAllocRegs for specific situations 2022-03-18 19:37:01 +01:00
Sema.zig stage2: use indexes for Decl objects 2022-04-20 17:37:35 -07:00
stage1.zig std.Progress: make the API infallible 2022-02-08 17:26:55 -07:00
target.zig wasm: Add support for debug info 2022-04-18 13:11:37 +02:00
test.zig Use 0-indexing for incremental compile error tests 2022-04-13 01:09:21 -04:00
ThreadPool.zig stage2: ThreadPool: update to new function pointer semantics 2022-04-05 23:16:35 -07:00
tracy.zig lint: duplicate import (#10519) 2022-01-07 00:06:06 -05:00
translate_c.zig stage2: fix bugs preventing stage2 from building stage3 with LLVM 2022-04-15 23:32:26 +03:00
type.zig stage2: use indexes for Decl objects 2022-04-20 17:37:35 -07:00
TypedValue.zig stage2: use indexes for Decl objects 2022-04-20 17:37:35 -07:00
value.zig stage2: use indexes for Decl objects 2022-04-20 17:37:35 -07:00
WaitGroup.zig stage2: remove SPDX license header comments 2022-03-11 19:38:07 -07:00
wasi_libc.zig allocgate: renamed getAllocator function to allocator 2021-11-30 23:32:47 +00:00
windows_com.hpp Spelling corrections (#9833) 2021-09-24 13:39:20 -04:00
windows_sdk.cpp finalize windows_sdk paths based on snickler suggestions 2021-09-07 21:49:08 -06:00
windows_sdk.h fix regressed stage2 test harness 2020-09-21 21:14:01 -07:00
windows_sdk.zig stage2: update for new usingnamespace semantics 2021-09-01 17:54:07 -07:00
zig_clang.cpp stage2: fix bugs preventing stage2 from building stage3 with LLVM 2022-04-15 23:32:26 +03:00
zig_clang.h stage2: fix bugs preventing stage2 from building stage3 with LLVM 2022-04-15 23:32:26 +03:00
zig_clang_cc1_main.cpp update clang tools to 13 rc1 2021-08-15 18:06:29 -07:00
zig_clang_cc1as_main.cpp update clang tools to 13 rc1 2021-08-15 18:06:29 -07:00
zig_clang_driver.cpp update clang tools to 13 rc1 2021-08-15 18:06:29 -07:00
zig_llvm-ar.cpp Merge remote-tracking branch 'origin/master' into llvm13 2021-09-30 21:38:04 -07:00
zig_llvm.cpp stage2 llvm: keep track of inlined functions 2022-03-16 10:53:41 +02:00
zig_llvm.h zig_llvm.h: fix some declarations not being C compatible 2022-03-17 17:24:11 -07:00
Zir.zig AstGen: fix treating noreturn instructions as void 2022-03-31 15:06:12 -07:00