CMakeLists.txt | 1 - build.zig | 3 +- ci/drone/linux_script | 3 +- ci/srht/freebsd_script | 3 +- lib/libc/glibc/abi.txt | 135 ++++++++++++++++++++++++++++++++ lib/libc/glibc/fns.txt | 9 +++ lib/std/build.zig | 20 +++-- lib/std/debug.zig | 55 ++++++++++--- lib/std/net.zig | 4 +- lib/std/start.zig | 4 + lib/std/zig/ast.zig | 7 +- lib/std/zig/parse.zig | 7 +- lib/std/zig/parser_test.zig | 13 +++ lib/std/zig/render.zig | 3 + src-self-hosted/stage2.zig | 8 ++ src/all_types.hpp | 2 + src/codegen.cpp | 1 + src/glibc.cpp | 10 +++ src/ir.cpp | 131 ++++++++++++++++++++++++------- src/link.cpp | 8 +- src/main.cpp | 16 ++-- src/parser.cpp | 11 ++- src/stage2.h | 1 + test/compile_errors.zig | 23 ++++++ test/stage1/behavior/defer.zig | 21 ++++- test/stage1/behavior/slice.zig | 8 ++ test/standalone/mix_o_files/test.c | 8 +- test/standalone/shared_library/test.c | 8 +- tools/update_glibc.zig | 29 ++++--- 29 files changed, 459 insertions(+), 93 deletions(-)