zig/lib
Andrew Kelley 1a500b9699 Sema: avoid error return traces when possible
stage2 was adding bogus error return trace frames when an error was not
being returned. This commit makes several improvements:

 * Make a runtime check if necessary to only emit a frame into the error
   return trace when an actual error is returned.
 * Use the `analyzeIsNonErrComptimeOnly` machinery to avoid runtime
   checks when it is compile-time-known that the value is an error, or a
   non-error.
 * Make std.builtin.returnError take a non-optional stack trace pointer.

closes #12174
2022-08-08 19:16:21 -07:00
..
compiler_rt stage2: implement @setFloatMode 2022-07-23 15:40:12 +03:00
docs fix: cleanup recent changes 2022-08-08 18:14:26 +02:00
include move zig.h to become an installation file 2022-07-27 10:26:45 -07:00
init-exe init-exe template: add flushing to the buffered writer 2022-08-04 21:12:42 +02:00
init-lib
libc update macOS libc headers 2022-07-04 12:14:48 -07:00
libcxx libcxx: do not include __config_site 2022-07-02 20:40:59 -07:00
libcxxabi
libunwind
std Sema: avoid error return traces when possible 2022-08-08 19:16:21 -07:00
tsan
build_runner.zig
c.zig
compiler_rt.zig
ssp.zig
test_runner.zig Fix indexing in the test runner's log formatting 2022-07-24 12:08:02 +03:00