CMakeLists.txt | 5 +- ci/azure/pipelines.yml | 2 +- cmake/Findllvm.cmake | 10 +- deps/dbg-macro/LICENSE | 21 - deps/dbg-macro/README.md | 172 ----- deps/dbg-macro/dbg.h | 711 --------------------- lib/libc/mingw/lib32/user32.def | 998 +++++++++++++++++++++++++++++ lib/std/array_list.zig | 574 ++++++++++++----- lib/std/build.zig | 8 +- lib/std/builtin.zig | 3 + lib/std/c/darwin.zig | 2 +- lib/std/crypto.zig | 86 +-- lib/std/crypto/benchmark.zig | 1 + lib/std/crypto/ghash.zig | 310 +++++++++ lib/std/crypto/hkdf.zig | 66 ++ lib/std/crypto/poly1305.zig | 11 +- lib/std/fmt.zig | 10 + lib/std/fs.zig | 16 +- lib/std/math/big/int.zig | 120 ++++ lib/std/math/big/int_test.zig | 45 ++ lib/std/meta.zig | 2 + lib/std/meta/trailer_flags.zig | 1 + lib/std/os.zig | 2 +- lib/std/packed_int_array.zig | 15 + src/Compilation.zig | 31 +- src/link.zig | 1 + src/link/Elf.zig | 5 + src/main.zig | 9 + src/mingw.zig | 11 +- src/stage1.zig | 6 +- src/stage1/all_types.hpp | 6 +- src/stage1/analyze.cpp | 18 +- src/stage1/codegen.cpp | 2 +- src/stage1/config.h.in | 1 + src/stage1/ir.cpp | 181 +++++- src/stage1/os.cpp | 1074 +------------------------------- src/stage1/os.hpp | 52 -- src/stage1/zig0.cpp | 10 + src/target.zig | 2 +- test/compile_errors.zig | 229 +++++-- test/stage1/behavior/bugs/1467.zig | 7 + test/stage1/behavior/type.zig | 43 +- test/stage1/behavior/type_info.zig | 21 +- 43 files changed, 2551 insertions(+), 2349 deletions(-)