Files
zig/src
Alex Rønne Petersen 1c35e73b61 llvm: Don't emit safety memset() for stores of undef in Debug with safety off.
Before, this code:

    @setRuntimeSafety(false);
    var arr: [38]elf.Addr = undefined;

would emit a call to memset() in the output code in Debug mode, while in all the
release modes, LLVM optimized the memset() out as expected. Emitting the call in
Debug mode is problematic in some contexts, e.g. in std.os.linux.start_pie where
we are not yet ready to correctly perform calls because relocations haven't been
applied yet, or in the early stages of a dynamic linker, etc.
2024-07-25 18:04:50 -07:00
..
2024-07-20 20:23:18 +03:00
2024-07-22 12:06:02 +02:00
2024-07-22 05:50:48 -07:00
2024-06-04 16:54:14 -07:00
2024-04-09 15:00:21 +02:00