zig/test
mlugg 8744865425 frontend: fix reference tracking through coerced function bodies
This bug was manifesting for user as a nasty link error because they
were calling their application's main entry point as a coerced function,
which essentially broke reference tracking for the entire ZCU, causing
exported symbols to silently not get exported.

I've been a little unsure about how coerced functions should interact
with the unit graph before, but the solution is actually really obvious
now: they shouldn't! `Sema` is now responsible for unwrapping
possibly-coerced functions *before* queuing analysis or marking unit
references. This makes the reference graph optimal (there are no
redundant edges representing coerced versions of the same function) and
simplifies logic elsewhere at the expense of just a few lines in Sema.
2025-09-15 11:29:31 +01:00
..
behavior std.math.big.int: normalize zero result for small multiplications 2025-09-13 17:13:27 +01:00
c_abi test: expand C ABI test coverage to hexagon-linux-musl 2025-08-30 06:36:41 +02:00
c_import aarch64: add new from scratch self-hosted backend 2025-07-22 19:43:47 -07:00
cases frontend: fix reference tracking through coerced function bodies 2025-09-15 11:29:31 +01:00
incremental Dwarf: implement comptime-known extern values 2025-08-15 18:29:06 -04:00
link Migrate from deprecated Step.Compile APIs 2025-07-26 12:06:43 +02:00
src update tools and other miscellaneous things to new APIs 2025-08-30 00:48:50 -07:00
standalone Fix standalone test simple/cat/main.zig after Writergate update (#25188) 2025-09-11 16:43:11 +00:00
assemble_and_link.zig
behavior.zig delete behavior test that depends on std.fmt 2025-08-31 12:49:18 -07:00
c_import.zig
cases.zig
compare_output.zig update standalone and incremental tests to new API 2025-07-07 22:43:53 -07:00
compile_errors.zig compiler: refactor Zcu.File and path representation 2025-05-18 17:37:02 +01:00
gen_h.zig
llvm_ir.zig test: Add some basic LLVM IR tests for atomics, volatile, and allowzero. 2025-05-12 17:07:50 +02:00
llvm_targets.zig std.Target: add vita os 2025-08-26 07:50:06 +02:00
nvptx.zig Remove uses of deprecated callconv aliases 2025-03-05 03:01:43 +00:00
run_translated_c.zig
stack_traces.zig test: Disable error union switch with call operand (ReleaseSafe) on macos. 2025-04-04 06:08:10 +02:00
tests.zig Revert "test: disable non-native loongarch64 behavior and std tests" 2025-09-03 11:32:57 +02:00
translate_c.zig zig fmt: apply new cast builtin order 2025-08-03 14:59:56 +02:00