0
Fork 0
mirror of https://codeberg.org/ziglang/zig synced 2026-11-18 07:05:05 +00:00
zig/test/src
Matthew Lugg 998b714708 Sema: push to error trace when returning from inline function
There is no reason `inline fn`s should not be subject to error tracing:
they are still functions! So, push to the error trace when we return
from one, and add a test checking that inline functions do appear in
error traces.

This also changes how we emit error trace pushes: we no longer duplicate
the AIR `ret` instruction in the "error" and "non-error" code paths. I
suspect this will lead to slightly better unoptimized codegen, but I may
be wrong---I'll take some performance measurements before I merge this.
History 2026-04-10 23:17:22 +02:00
..
Cases.zig test: add openbsd targets to module test matrix 2026-01-05 16:50:46 +01:00
convert-stack-trace.zig test-stack-traces: update to new main API 2026-01-04 00:27:09 -08:00
Debugger.zig std: move child process APIs to std.Io 2026-01-04 00:27:08 -08:00
ErrorTrace.zig Sema: push to error trace when returning from inline function 2026-04-10 23:17:22 +02:00
Libc.zig test harness: refmt for readability 2026-02-12 13:14:51 -08:00
LlvmIr.zig Sema: push to error trace when returning from inline function 2026-04-10 23:17:22 +02:00
RunTranslatedC.zig std.ArrayList: make unmanaged the default 2025-08-11 15:52:49 -07:00
StackTrace.zig std.Target: don't claim that OpenBSD requires libc 2026-03-26 05:50:51 +01:00
TranslateC.zig std.ArrayList: make unmanaged the default 2025-08-11 15:52:49 -07:00