mirror of
https://codeberg.org/ziglang/zig
synced 2026-11-18 07:05:05 +00:00
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
|
|
|---|---|---|
| .. | ||
| Cases.zig | ||
| convert-stack-trace.zig | ||
| Debugger.zig | ||
| ErrorTrace.zig | ||
| Libc.zig | ||
| LlvmIr.zig | ||
| RunTranslatedC.zig | ||
| StackTrace.zig | ||
| TranslateC.zig | ||