rust/compiler/rustc_monomorphize/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
..
mono_checks Re-export more rustc_span::symbol things from rustc_span. 2024-12-18 13:38:53 +11:00
collector.rs Insert null checks for pointer dereferences when debug assertions are enabled 2025-01-31 11:13:34 +00:00
errors.rs Remove polymorphization 2024-12-06 16:42:09 -05:00
lib.rs Implement projection and shim for AFIDT 2024-12-10 16:52:20 +00:00
partitioning.rs Change collect_and_partition_mono_items tuple return type to a struct 2025-01-27 09:38:12 +00:00
util.rs use TypingEnv when no infcx is available 2024-11-18 10:38:56 +01:00