mirror of
https://codeberg.org/ziglang/zig
synced 2026-11-18 07:05:05 +00:00
The panic handler decl_val was previously given a `unneeded` source location, which was then added to the reference trace, resulting in a crash if the source location was used in the reference trace. This commit makes two trivial changes: * Don't add unneeded source locations to the ref table (panic in debug, silently ignore in release) * Pass a real source location when analyzing the panic handler
17 lines
381 B
17 lines
381 B