rust/compiler/stable_mir/src
Bastian Kersting b151b513ba Insert null checks for pointer dereferences when debug assertions are enabled
Similar to how the alignment is already checked, this adds a check
for null pointer dereferences in debug mode. It is implemented similarly
to the alignment check as a MirPass.

This is related to a 2025H1 project goal for better UB checks in debug
mode: https://github.com/rust-lang/rust-project-goals/pull/177.
2025-01-31 11:13:34 +00:00
..
mir Insert null checks for pointer dereferences when debug assertions are enabled 2025-01-31 11:13:34 +00:00
abi.rs Add gpu-kernel calling convention 2025-01-16 00:26:55 +01:00
compiler_interface.rs [StableMIR] API to retrieve definitions from crates 2024-11-07 13:11:46 -08:00
crate_def.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
error.rs Implement missing ABI structures in StableMIR 2024-03-01 11:02:05 -08:00
lib.rs [StableMIR] API to retrieve definitions from crates 2024-11-07 13:11:46 -08:00
mir.rs Add support to global allocation to stable-mir 2023-11-21 19:16:53 -08:00
target.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
ty.rs Add gpu-kernel calling convention 2025-01-16 00:26:55 +01:00
visitor.rs Encode coroutine-closures in SMIR 2024-12-14 03:45:35 +00:00