CMakeLists.txt | 2 +- bootstrap.c | 2 +- build.zig | 59 +- lib/compiler/Maker.zig | 4 - lib/compiler/Maker/Graph.zig | 3 - lib/compiler/Maker/Package/Manifest.zig | 92 +- lib/compiler/Maker/ScannedConfig.zig | 8 +- lib/compiler/Maker/Step/Compile.zig | 5 +- lib/compiler/Maker/Step/Run.zig | 8 +- lib/compiler/aro/aro/Driver.zig | 2 +- lib/lldb/pretty_printers.py | 151 +- lib/std/Build/Configuration.zig | 2 + lib/std/Io/Threaded.zig | 133 +- lib/std/Target.zig | 6 + lib/std/Target/Query.zig | 158 +- lib/std/c.zig | 37 +- lib/std/debug.zig | 2 +- lib/std/fmt.zig | 8 +- lib/std/posix.zig | 2 +- lib/std/zig.zig | 2 + lib/std/zig/llvm/Builder.zig | 21 +- lib/std/zig/string_literal.zig | 18 +- src/Air.zig | 10 +- src/Air/Print.zig | 1059 +++++++++++++ src/Air/print.zig | 1048 ------------- src/Compilation.zig | 421 +++--- src/Compilation/Config.zig | 8 +- src/InternPool.zig | 61 +- src/Module.zig | 19 +- src/Sema.zig | 28 +- src/Zcu.zig | 406 +++-- src/Zcu/PerThread.zig | 148 +- src/codegen/llvm.zig | 125 +- src/codegen/llvm/bindings.zig | 5 +- src/codegen/riscv64/CodeGen.zig | 2 +- src/codegen/x86_64/CodeGen.zig | 2 +- src/dev.zig | 2 + src/libs/freebsd.zig | 4 - src/libs/glibc.zig | 4 - src/libs/libcxx.zig | 8 - src/libs/libtsan.zig | 4 - src/libs/libunwind.zig | 4 - src/libs/musl.zig | 3 - src/libs/netbsd.zig | 4 - src/libs/openbsd.zig | 4 - src/link.zig | 39 +- src/link/Elf.zig | 4 +- src/link/Elf/ZigObject.zig | 2 +- src/link/Elf/gc.zig | 2 +- src/link/Elf/relocatable.zig | 14 +- src/link/MachO.zig | 4 +- src/link/MachO/dead_strip.zig | 3 +- src/link/MachO/relocatable.zig | 12 +- src/main.zig | 121 +- src/target.zig | 2 + src/zig_llvm.cpp | 8 +- src/zig_llvm.h | 8 +- stage1/config.zig.in | 2 +- test/Runner.zig | 2605 ++++++++++++++++++++++++++++++++ test/behavior/slice.zig | 18 + test/cases.zig | 3 +- test/cases/compile_errors/load_uninstantiable_type.zig | 48 + test/cases/safety/iterate_slice_uninstantiable_enum.zig | 21 + test/cases/safety/iterate_slice_uninstantiable_union.zig | 24 + test/cases/safety/load_slice_uninstantiable_enum.zig | 21 + test/cases/safety/load_slice_uninstantiable_union.zig | 24 + test/cases/safety/load_uninstantiable_enum_from_slice.zig | 21 - test/cases/safety/load_uninstantiable_union.zig | 2 +- test/cases/safety/load_uninstantiable_union_from_slice.zig | 24 - test/debugger/basic/manifest | 4 +- test/debugger/enums | 12 +- test/debugger/errors | 12 +- test/debugger/inline_call/manifest | 18 +- test/debugger/matrix.zon | 56 + test/debugger/multi_array_list/manifest | 4 +- test/debugger/step_single_stmt_loops/manifest | 4 +- test/debugger/unions | 12 +- test/incremental/add_decl | 15 +- test/incremental/add_decl_namespaced | 15 +- test/incremental/add_decls_around_bad_field_expr | 3 +- test/incremental/add_field_and_nested_struct_uses_changed_decl | 9 +- test/incremental/add_remove_struct_fields/manifest | 17 +- test/incremental/add_remove_toplevel_fields/manifest | 17 +- test/incremental/analysis_error_and_syntax_error | 18 +- test/incremental/bad_import | 6 +- test/incremental/change_bitpack_backing_int | 9 +- test/incremental/change_container_kind | 24 +- test/incremental/change_embed_file | 15 +- test/incremental/change_enum_tag_type/manifest | 22 +- test/incremental/change_exports/manifest | 35 +- test/incremental/change_fn_type | 6 +- test/incremental/change_generic_line_number | 3 +- test/incremental/change_line_number | 3 +- test/incremental/change_module | 12 +- test/incremental/change_panic_handler | 6 +- test/incremental/change_panic_handler_explicit/manifest | 12 +- test/incremental/change_reify_struct_field_type | 9 +- test/incremental/change_shift_op | 3 +- test/incremental/change_struct_same_fields | 6 +- test/incremental/change_union_tag_type | 6 +- test/incremental/change_zon_file | 15 +- test/incremental/change_zon_file_no_result_type | 3 +- test/incremental/compile_error_then_log | 6 +- test/incremental/compile_log | 9 +- test/incremental/delete_comptime_decls | 3 +- test/incremental/dependency_on_type_of_inferred_global | 6 +- test/incremental/do_nothing | 13 +- test/incremental/fix_astgen_failure | 12 +- test/incremental/function_becomes_inline | 9 +- test/incremental/hello | 3 +- test/incremental/increase_array_field_length | 3 +- test/incremental/make_decl_pub | 3 +- test/incremental/matrix.zon | 51 + test/incremental/modify_inline_fn | 3 +- test/incremental/move_src | 3 +- test/incremental/pointer_to_decl_with_astgen_error | 12 +- test/incremental/recursive_function_becomes_non_recursive | 3 +- test/incremental/remove_enum_field | 3 +- test/incremental/remove_function_with_changed_callee | 9 +- test/incremental/remove_invalid_union_backing_enum | 6 +- test/incremental/struct_reification_becomes_anon_init | 3 +- test/incremental/tag_name | 15 +- test/incremental/temporary_analysis_error_in_generic_signature | 6 +- test/incremental/temporary_parse_error | 12 +- test/incremental/type_becomes_comptime_only | 15 +- test/incremental/type_dependency_loop | 21 +- test/incremental/unreferenced_error | 9 +- test/llvm/allowzero | 98 ++ test/llvm/array_to_vector | 109 ++ test/llvm/dead_store | 65 + test/llvm/empty_analyze | 50 + test/llvm/empty_assembly | 55 + test/llvm/empty_object | 67 + test/llvm/load_store_bool | 95 ++ test/llvm/matrix.zon | 355 +++++ test/llvm/nonnull | 44 + test/llvm/unused_load | 109 ++ test/llvm_ir.zig | 170 --- test/llvm_targets.zig | 382 ----- test/src/Cases.zig | 33 - test/src/LlvmIr.zig | 135 -- test/src/Runner.zig | 2140 -------------------------- test/tests.zig | 210 +-- 143 files changed, 6334 insertions(+), 5568 deletions(-)