summary refs log tree commit diff
path: root/compiler/rustc_middle/src/mir/interpret/allocation.rs
AgeCommit message (Expand)AuthorLines
2024-10-01make InterpResult a dedicated type to avoid accidentally discarding the errorRalf Jung-7/+8
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-3/+3
2024-09-12Rollup merge of #130235 - compiler-errors:nested-if, r=michaelwoeristerStuart Cook-16/+14
2024-09-11Rollup merge of #130114 - eduardosm:needless-returns, r=compiler-errorsJubilee-1/+1
2024-09-11Simplify some nested if statementsMichael Goulet-16/+14
2024-09-09Remove needless returns detected by clippy in the compilerEduardo Sánchez Muñoz-1/+1
2024-09-08interpret: reset provenance on typed copiesRalf Jung-0/+6
2024-08-30enable Miri to pass const pointers through FFIStrophox-1/+2
2024-08-14use the new Box methods in the interpreterRalf Jung-4/+2
2024-07-29Reformat `use` declarations.Nicholas Nethercote-8/+4
2024-06-21add as_ptr to trait AllocBytes, fix 2 impls; add pub fn get_bytes_unchecked_r...Strophox-3/+23
2024-06-17interpret: better error when we ran out of memoryRalf Jung-2/+5
2024-05-27miri: avoid making a full copy of all new allocationsRalf Jung-22/+21
2024-05-03remove trait bounds on AllocBytesStrophox-3/+1
2024-05-03Cow::from(&*...) changed to Cow::Owned(Vec::from(...))Strophox-1/+1
2024-05-03generalize adjust_from_tcxStrophox-4/+4
2024-04-29Remove `extern crate rustc_macros` from `rustc_middle`.Nicholas Nethercote-0/+1
2024-03-15interpret/allocation: fix aliasing issue in interpreter and refactor getters ...Ralf Jung-11/+31
2024-01-10Add `DiagCtxt::delayed_bug`.Nicholas Nethercote-4/+1
2023-12-24Remove `Session` methods that duplicate `DiagCtxt` methods.Nicholas Nethercote-1/+1
2023-12-07ctfe interpreter: extend provenance so that it can track whether a pointer is...Ralf Jung-8/+8
2023-12-02Rename `HandlerInner::delay_span_bug` as `HandlerInner::span_delayed_bug`.Nicholas Nethercote-1/+1
2023-10-14interpret: clean up AllocBytesRalf Jung-13/+5
2023-08-09Convert Const to Allocation in smirouz-a-0/+3
2023-08-02const validation: point at where we found a pointer but expected an integerRalf Jung-25/+41
2023-07-25add some sanity checks in write_immediate_no_validateRalf Jung-1/+1
2023-06-01Use translatable diagnostics in `rustc_const_eval`Deadbeef-19/+29
2023-04-09fixup! Improve `Allocation::hashNilstrieb-1/+1
2023-04-09Improve `Allocation::hashNilstrieb-9/+17
2023-03-28address review commentsRémy Rakic-2/+0
2023-03-01FormatRune Tynan-8/+2
2023-02-28Make zeroed return an OptionRune Tynan-13/+8
2023-02-20Minimal changes to make miri workRune Tynan-12/+2
2023-02-20Remove unused lifetimeRune Tynan-1/+1
2023-02-20Add mentioned from_raw_bytes constructorRune Tynan-0/+17
2023-02-20Allow non-`Box` allocations in preparation for aligned const allocations for ...Rune Tynan-16/+72
2022-11-30Update documentationOli Scherer-1/+1
2022-11-26interpret: remove PartialOrd from a bunch of types that do not have or need a...Ralf Jung-2/+2
2022-11-18interpret: use Either over Result when it is not representing an error conditionRalf Jung-3/+5
2022-11-14assert that we are (de)seiralizing ProvenanceMap correctlyRalf Jung-9/+7
2022-11-06make uninit_mask a unit testRalf Jung-0/+2
2022-11-06move InitMask to its own moduleRalf Jung-583/+36
2022-11-06dont debug-print allocations, that's too verboseRalf Jung-4/+4
2022-11-06interpret: support for per-byte provenanceRalf Jung-173/+21
2022-08-27interpret: make read-pointer-as-bytes *always* work in MiriRalf Jung-91/+65
2022-08-27interpret: rename relocation → provenanceRalf Jung-91/+90
2022-08-26make read_immediate error immediately on uninit, so ImmTy can carry initializ...Ralf Jung-17/+8
2022-08-26remove some now-unnecessary parameters from check_bytesRalf Jung-19/+4
2022-07-19interpret: rename Tag/PointerTag to Prov/ProvenanceRalf Jung-40/+41
2022-07-13get rid of MemPlaceMeta::PoisonRalf Jung-0/+2