0
Fork 0
mirror of https://codeberg.org/ziglang/zig synced 2026-11-18 07:05:05 +00:00
zig/src
Cody Tapscott e6ebdcb82e stage2 LLVM: Use a packed aggregate for union payload init
Without the packed qualifier, the type layout that we use to
initialize doesn't match the correct layout of the underlying
storage, causing corrupted data and past-the-end writes.
History 2022-10-11 15:42:01 -04:00
..
arch wasm-linker: convert relocation addend to i32 2022-10-08 17:23:13 +02:00
autodoc docgen: add f80 to builtin types 2022-09-14 20:08:34 -04:00
codegen stage2 LLVM: Use a packed aggregate for union payload init 2022-10-11 15:42:01 -04:00
link wasm-linker: convert relocation addend to i32 2022-10-08 17:23:13 +02:00
stage1 Fix building with Clang 16 2022-10-10 02:31:09 -04:00
translate_c translate-c: fix the remaining function pointer issues 2022-10-10 22:30:33 +02:00
Air.zig stage2: support being built in ReleaseSafe mode 2022-09-13 18:08:59 -07:00
AstGen.zig Merge pull request #13075 from Vexu/stage2-fixes 2022-10-10 23:27:17 +02:00
Autodoc.zig Fix all std lib tests being run for any file within the std package 2022-10-05 04:21:16 -04:00
BuiltinFn.zig stage2+stage1: remove type parameter from bit builtins 2022-08-22 11:19:20 +03:00
Cache.zig std.fmt: require specifier for unwrapping ?T and E!T 2022-07-26 11:25:49 -07:00
clang.zig translate-c: packed struct implies align(1) on every field 2022-10-01 15:22:10 -07:00
clang_options.zig zig cc: honor all -m and -mno- CPU feature flags 2021-11-26 19:59:33 -07:00
clang_options_data.zig Merge remote-tracking branch 'origin/master' into llvm15 2022-08-29 14:10:59 -07:00
codegen.zig Sema: handle union and enum field order being different 2022-08-21 12:51:40 +03:00
Compilation.zig Compilation: strip debug info from ReleaseSmall by default 2022-10-11 17:51:25 +02:00
config.zig.in make self-hosted the default compiler 2022-08-19 16:45:15 -07:00
crash_report.zig std: add return address parameter to panic fn 2022-09-20 19:05:00 -07:00
DepTokenizer.zig allocgate: renamed getAllocator function to allocator 2021-11-30 23:32:47 +00:00
empty.zig fix wrong entrypoint, undefined package, and wrong build option 2020-12-07 17:27:09 -07:00
glibc.zig Compilation: handle system C compiler not found 2022-09-11 16:37:03 -07:00
InternPool.zig stage2: rename InternArena to InternPool 2022-04-06 11:50:23 -07:00
introspect.zig stage2: Move WASI/Zig-specific selfExePath to introspect.zig 2022-04-18 23:06:49 -07:00
libc_installation.zig std.mem: add first method to SplitIterator and SplitBackwardsIterator 2022-07-25 22:04:30 +03:00
libcxx.zig libcxx: define _LIBCPP_ABI_VERSION and _LIBCPP_ABI_NAMESPACE 2022-09-12 15:56:31 -07:00
libtsan.zig stage2: implement stack protectors 2022-08-19 03:41:13 -07:00
libunwind.zig fix libc++ exceptions for musl targets 2022-09-13 11:38:14 -07:00
link.zig Merge remote-tracking branch 'origin/master' into llvm15 2022-09-09 10:26:17 -07:00
Liveness.zig stage2: generate a switch for @errSetCast safety 2022-08-12 11:40:37 +03:00
main.zig Compilation: strip debug info from ReleaseSmall by default 2022-10-11 17:51:25 +02:00
mingw.zig avoid exposing supportsTailCall in the standard library 2022-08-30 12:50:15 -07:00
Module.zig Merge pull request #13071 from ziglang/resolve-cache-files 2022-10-05 09:41:03 -04:00
musl.zig stage2: implement stack protectors 2022-08-19 03:41:13 -07:00
Package.zig flatten lib/std/special and improve "pkg inside another" logic 2022-05-06 22:41:00 -07:00
print_air.zig stage2: remove pointless discards from source code 2022-09-13 02:04:20 -07:00
print_env.zig stage2: fix compile error merge conflict 2022-09-14 16:41:53 -07:00
print_targets.zig Remove usage of inline for from print_targets.cmdTargets 2022-04-26 17:52:21 -04:00
print_zir.zig stage2: add error for non-void error union payload being ignored 2022-10-06 15:39:06 +03:00
RangeSet.zig std.math.big.int: breaking API changes to prevent UAF 2022-06-29 22:06:27 -04:00
register_manager.zig std.fmt: require specifier for unwrapping ?T and E!T 2022-07-26 11:25:49 -07:00
Sema.zig Merge pull request #13075 from Vexu/stage2-fixes 2022-10-10 23:27:17 +02:00
stage1.zig make self-hosted the default compiler 2022-08-19 16:45:15 -07:00
target.zig Merge remote-tracking branch 'origin/master' into llvm15 2022-08-30 13:02:43 -07:00
test.zig Merge pull request #12796 from Vexu/referenced-by-v2 2022-09-16 23:49:00 +03:00
ThreadPool.zig Compilation: multi-thread compiler-rt 2022-06-17 16:38:59 -07:00
tracy.zig lint: duplicate import (#10519) 2022-01-07 00:06:06 -05:00
translate_c.zig translate-c: fix #5305 2022-10-10 22:50:22 +02:00
type.zig Sema: disallow fieldParentPtr and offsetOf on comptime fields 2022-10-06 20:09:45 +03:00
TypedValue.zig stage2: Fix AIR printing 2022-07-30 12:36:11 -07:00
value.zig Sema: handle comptime fields in field call bind 2022-09-15 00:50:18 +03:00
WaitGroup.zig Compilation: multi-thread compiler-rt 2022-06-17 16:38:59 -07:00
wasi_libc.zig allocgate: renamed getAllocator function to allocator 2021-11-30 23:32:47 +00:00
windows_com.hpp windows_com: add missing __CRT_UUID_DECL() for IEnumSetupInstances 2022-07-09 14:04:38 -07:00
windows_sdk.cpp finalize windows_sdk paths based on snickler suggestions 2021-09-07 21:49:08 -06:00
windows_sdk.h fix regressed stage2 test harness 2020-09-21 21:14:01 -07:00
windows_sdk.zig stage2: update for new usingnamespace semantics 2021-09-01 17:54:07 -07:00
zig_clang.cpp translate-c: packed struct implies align(1) on every field 2022-10-01 15:22:10 -07:00
zig_clang.h translate-c: packed struct implies align(1) on every field 2022-10-01 15:22:10 -07:00
zig_clang_cc1_main.cpp update to LLVM 15 2022-07-28 11:53:25 -07:00
zig_clang_cc1as_main.cpp update to LLVM 15 2022-07-28 11:53:25 -07:00
zig_clang_driver.cpp update to LLVM 15 2022-07-28 11:53:25 -07:00
zig_llvm-ar.cpp update to LLVM 15 2022-07-28 11:53:25 -07:00
zig_llvm.cpp make LLVM and Clang emit DWARF 4 instead of 5 2022-08-23 21:24:03 -07:00
zig_llvm.h LLVM backends: work around poorly designed C API 2022-08-01 23:26:36 -07:00
Zir.zig stage2: add error for non-void error union payload being ignored 2022-10-06 15:39:06 +03:00