diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2021-07-07 14:17:04 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2021-07-07 14:17:04 -0700 |
| commit | 5816997ae79c6025d5f85aab0c9ab456fecadec9 (patch) | |
| tree | 66e90395fe170f84e1567787538d4cbc67a63fe4 /lib/std/debug.zig | |
| parent | 13f04e3012b6b2eee141923f9780fce55f7a999d (diff) | |
| download | zig-5816997ae79c6025d5f85aab0c9ab456fecadec9.tar.gz zig-5816997ae79c6025d5f85aab0c9ab456fecadec9.zip | |
stage2: get tests passing
* implement enough of ret_err_value to pass wasm tests
* only do the proper `@panic` implementation for the backends which
support it, which is currently only the C backend. The other backends
will see `@breakpoint(); unreachable;` same as before.
- I plan to do AIR memory layout reworking as a prerequisite to
fixing other backends, because that will help me put all the
constants up front, which will allow the codegen to lower to memory
without jumps.
* `@panic` is implemented using anon decls for the message. Makes it
easier on the backends. Might want to look into re-using decls for
this in the future.
* implement DWARF .debug_info for pointer-like optionals.
Diffstat (limited to 'lib/std/debug.zig')
0 files changed, 0 insertions, 0 deletions
