summary refs log tree commit diff
path: root/src/librustc_mir/interpret/memory.rs
AgeCommit message (Expand)AuthorLines
2019-12-06Rename to `then_some` and `then`varkor-1/+1
2019-12-06Use `to_option` in various placesvarkor-1/+1
2019-12-02fix init_allocation_extraRalf Jung-7/+13
2019-12-02make alloc_extra machine hook a bit nicerRalf Jung-6/+9
2019-12-02Add From instances for Pointer -> ScalarMaybeUndef and Pointer -> ImmediateRalf Jung-1/+1
2019-11-28do not consider memory allocated by caller_location leakedRalf Jung-3/+7
2019-11-23only print LEAK REPORT if there is a leakRalf Jung-2/+4
2019-11-23Miri: print leak report even without tracingRalf Jung-11/+12
2019-11-22fix reoccuring typo: dereferencable -> dereferenceableRalf Jung-3/+3
2019-11-08Rollup merge of #66154 - RalfJung:to_usize, r=oli-obkMazdak Farrokhzad-1/+1
2019-11-08miri: Rename to_{u,i}size to to_machine_{u,i}sizeRalf Jung-1/+1
2019-11-08rename Memory::get methods to get_raw to indicate their unchecked natureRalf Jung-14/+18
2019-11-04let caller of check_ptr_access_align control the error messageRalf Jung-4/+6
2019-10-22relax ExactSizeIterator bound on write_bytes: too many iterators don't have t...Ralf Jung-3/+4
2019-10-21Rollup merge of #65647 - nnethercote:rm-unnecessary-traits, r=CentrilMazdak Farrokhzad-1/+1
2019-10-21Remove many unnecessary trait derivations.Nicholas Nethercote-1/+1
2019-10-20miri add write_bytes method to Memory doing bounds-checks and supporting iter...Ralf Jung-1/+20
2019-09-28Allow reading non-mutable statics in const propWesley Wiser-0/+2
2019-09-02Auto merge of #63561 - HeroicKatora:alloc-private-bytes, r=oli-obkbors-94/+23
2019-08-30Move relocation range copies into allocationAndreas Molzer-27/+3
2019-08-29Make allocation relocation field privateAndreas Molzer-2/+2
2019-08-28Address naming and comments from reviewsAndreas Molzer-2/+2
2019-08-21Expose encapsulated undef mask as immutableAndreas Molzer-1/+1
2019-08-21Replace usage of alloc.bytes in interpretAndreas Molzer-10/+15
2019-08-17fix typosDante-Broggi-1/+1
2019-08-17Move copy of undef_mask into allocationAndreas Molzer-55/+3
2019-08-14Rollup merge of #63075 - RalfJung:deref-checks, r=oli-obkMazdak Farrokhzad-2/+2
2019-08-05Auto merge of #63079 - RalfJung:ctfe-no-align, r=oli-obkbors-13/+31
2019-08-02dedup free-form Unsupported errors; add macros for free-form UB and Unsupport...Ralf Jung-6/+6
2019-08-02miri: validity checks alignment even when machine otherwise does notRalf Jung-2/+15
2019-08-02CTFE: simplify Value type by not checking for alignmentRalf Jung-13/+18
2019-07-31code review fixesSaleem Jaffer-1/+1
2019-07-31code review fixesSaleem Jaffer-14/+11
2019-07-30renaming throw_err_* to throw_*Saleem Jaffer-28/+26
2019-07-30renaming err to err_unsupSaleem Jaffer-21/+23
2019-07-30adding throw_ and err_ macros for InterpErrorSaleem Jaffer-21/+21
2019-07-29code review fixesSaleem Jaffer-5/+6
2019-07-29adding a err macro for each of the InterpError variantsSaleem Jaffer-28/+25
2019-07-29fixing fallout due to InterpError refactorSaleem Jaffer-32/+34
2019-07-28better name for check_in_allocRalf Jung-2/+2
2019-07-28get_size_and_align: fix handling of function pointersRalf Jung-9/+15
2019-07-28miri: add get and get_mut to AllocMap; use that in get_size_and_align and avo...Ralf Jung-38/+36
2019-07-26Update src/librustc_mir/interpret/memory.rsOliver Scherer-1/+1
2019-07-26Update src/librustc_mir/interpret/memory.rsOliver Scherer-1/+1
2019-07-26Address review commentsOliver Scherer-7/+11
2019-07-26Clear up `get_size_and_align`Oliver Scherer-34/+37
2019-07-26Fix tidyOliver Scherer-1/+1
2019-07-25Rewrite `get_size_and_align` so it doesn't duplicate workOliver Scherer-34/+35
2019-07-25Don't access a static just for its size and alignmentOliver Scherer-14/+13
2019-07-06Add check_mplace_ptr convenience method; provide ptr-normalization methods fo...Ralf Jung-24/+12