about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/check_alignment.rs
AgeCommit message (Expand)AuthorLines
2025-06-29mir: Add a `new` method to `statement`dianqk-19/+15
2025-04-25Extend the alignment check to borrowsBastian Kersting-5/+5
2025-04-07check_align: we can still check low alignments on MSVCRalf Jung-3/+27
2025-04-07mitigate MSVC unsoundness by not emitting alignment attributes on win32-msvc ...Ralf Jung-2/+2
2025-02-08Detect (non-raw) borrows of null ZST pointers in CheckNullMichael Goulet-0/+2
2025-01-30Refactor `PointerFinder` into a separate moduleBastian Kersting-160/+38
2025-01-23Disable non-required MIR opts with `optimize(none)`clubby789-0/+4
2024-11-19move `fn is_item_raw` to `TypingEnv`lcnr-5/+5
2024-09-13Rename and reorder lots of lifetimes.Nicholas Nethercote-2/+2
2024-09-09Reduce visibilities, and add `warn(unreachable_pub)`.Nicholas Nethercote-1/+1
2024-09-03Move `MirPass` to `rustc_mir_transform`.Nicholas Nethercote-1/+1
2024-08-30Remove `#[macro_use] extern crate tracing` from `rustc_mir_transform`.Nicholas Nethercote-0/+1
2024-08-18rename AddressOf -> RawBorrow inside the compilerRalf Jung-1/+1
2024-07-29Reformat `use` declarations.Nicholas Nethercote-4/+2
2024-05-09Make builtin_deref just return a TyMichael Goulet-1/+1
2024-04-06Put checks that detect UB under their own flag below debug_assertionsBen Kimock-1/+1
2024-03-22Eagerly convert some ctors to use their specialized ctorsMichael Goulet-2/+2
2023-12-10remove redundant importssurechen-1/+0
2023-11-04Check alignment of pointers only when read/written throughBen Kimock-51/+54
2023-09-21rename mir::Constant -> mir::ConstOperand, mir::ConstKind -> mir::ConstRalf Jung-10/+4
2023-09-19move ConstValue into mirRalf Jung-1/+1
2023-07-05Move `TyCtxt::mk_x` to `Ty::new_x` where applicableBoxy-1/+1
2023-06-26Mention the panic function in CheckAlignmentBen Kimock-3/+3
2023-06-18Auto merge of #112599 - saethlin:cleaner-panics, r=thomccbors-6/+4
2023-06-16Update compiler/rustc_mir_transform/src/check_alignment.rsWesley Wiser-0/+1
2023-06-16Launch a non-unwinding panic for misaligned pointer derefBen Kimock-6/+4
2023-06-16Disable alignment checks on i686-pc-windows-msvcBen Kimock-0/+3
2023-06-07Remove wrongly emitted `.eh_frame` in `-Cpanic=abort`Gary Guo-1/+6
2023-05-27Exclude Rvalue::AddressOf for raw pointer deref alignment checksBen Kimock-0/+8
2023-05-01Box AssertKindBen Kimock-2/+2
2023-04-24Split `{Idx, IndexVec, IndexSlice}` into their own modulesMaybe Waffle-1/+1
2023-04-13Only emit alignment checks if we have a panic_implBen Kimock-0/+7
2023-04-06Fix new usage of old apiGary Guo-1/+1
2023-04-02Use `&IndexSlice` instead of `&IndexVec` where possibleScott McMurray-1/+1
2023-03-24Skip checks for common types with alignment 1Ben Kimock-0/+7
2023-03-24Use Vec::split_offBen Kimock-1/+1
2023-03-24Clarify that we are doing ptr.addr() internallyBen Kimock-1/+1
2023-03-23A MIR transform that checks pointers are alignedBen Kimock-0/+220