summary refs log tree commit diff
path: root/src/librustc_mir/interpret/memory.rs
AgeCommit message (Expand)AuthorLines
2019-02-10rustc: doc commentsAlexander Regueiro-7/+7
2018-12-25Remove licensesMark Rousskov-10/+0
2018-12-24Rollup merge of #56985 - oli-obk:const_check_bounds, r=RalfJungMazdak Farrokhzad-17/+25
2018-12-23Rollup merge of #56981 - RalfJung:miri-infallible-alloc, r=oli-obkkennytm-5/+5
2018-12-22Reintroduce the original `check_bounds_ptr` checksOliver Scherer-11/+21
2018-12-19Allow testing pointers for inboundedness while forbidding dangling pointersOliver Scherer-6/+4
2018-12-19miri: allocation is infallibleRalf Jung-5/+5
2018-12-18Explain the mathOliver Scherer-4/+9
2018-12-17Remove a wrong multiplier on relocation offset computationOliver Scherer-4/+4
2018-12-13Auto merge of #56461 - oli-obk:alloc_ids, r=RalfJungbors-14/+14
2018-12-07Various minor/cosmetic improvements to codeAlexander Regueiro-1/+1
2018-12-04Mention `alloc` in the name of the interning methodsOliver Scherer-1/+1
2018-12-03s/AllocType/AllocKind/Oliver Scherer-13/+13
2018-11-27Auto merge of #56094 - RalfJung:memory-data-revived, r=oli-obkbors-11/+25
2018-11-26Auto merge of #56070 - oli-obk:const_let, r=eddybbors-4/+4
2018-11-25make memory allocation hook infallibleRalf Jung-1/+1
2018-11-25pass MemoryExtra to find_foreign_static and adjust_static_allocation; they mi...Ralf Jung-6/+8
2018-11-25bring back MemoryExtraRalf Jung-5/+17
2018-11-24Rebase falloutOliver Scherer-5/+20
2018-11-24tidyOliver Scherer-1/+2
2018-11-24comment nitRalf Jung-1/+1
2018-11-24Move alignment checks out of `Allocation`Oliver Scherer-6/+6
2018-11-24Rebase falloutOliver Scherer-1/+1
2018-11-24Reintroduce zst-slice reading `read_bytes` method on `Memory`Oliver Scherer-0/+16
2018-11-24Remove unnecessary `Result` (function always returned `Ok`)Oliver Scherer-1/+1
2018-11-24Adjust rustc_mir::interpret to changes in `Allocation`/`Memory` methodsOliver Scherer-5/+11
2018-11-24Move some byte and scalar accessors from `Memory` to `Allocation`Oliver Scherer-197/+0
2018-11-24Move alignment and bounds check from `Memory` to `Allocation`Oliver Scherer-42/+0
2018-11-24Move undef mask methods from `Memory` to `Allocation`Oliver Scherer-29/+0
2018-11-24Move relocation methods from `Memory` to `Allocation`Oliver Scherer-73/+0
2018-11-24Move some methods from `Memory` to `Allocation`Oliver Scherer-84/+0
2018-11-22rustc_target: avoid using AbiAndPrefAlign where possible.Eduard-Mihai Burtescu-35/+33
2018-11-22rustc_target: separate out an individual Align from AbiAndPrefAlign.Eduard-Mihai Burtescu-11/+11
2018-11-22rustc_target: rename abi::Align to AbiAndPrefAlign.Eduard-Mihai Burtescu-27/+29
2018-11-19Make const_eval_raw query return just an AllocIdRalf Jung-9/+6
2018-11-19Also catch static mutation at evaluation timeOliver Scherer-4/+4
2018-11-15do not accept out-of-bounds pointers in enum discriminants, they might be NULLRalf Jung-23/+27
2018-11-12for uniformity, also move memory_deallocated to AllocationExtraRalf Jung-1/+1
2018-11-08Give `AllocationExtra`s access to their entire `Allocation`Oliver Scherer-2/+2
2018-11-08FalloutOliver Scherer-3/+3
2018-11-06Auto merge of #55262 - oli-obk:dangling_alloc_id_ice, r=RalfJungbors-0/+5
2018-11-04rustc_target: pass contexts by reference, not value.Eduard-Mihai Burtescu-10/+2
2018-10-29the memory_deallocated hook can make good use of knowing the sizeRalf Jung-1/+2
2018-10-29provide mutable borrows when hooking memory write accessRalf Jung-3/+3
2018-10-29Turn ICE for dangling pointers into errorOliver Scherer-0/+5
2018-10-28don't be too perf-greedyRalf Jung-1/+1
2018-10-28don't tag new memory inside memory.rs; add machine hook to tag new memoryRalf Jung-12/+12
2018-10-26Auto merge of #53821 - oli-obk:sanity_query, r=RalfJungbors-3/+8
2018-10-25Fix rebase falloutOliver Schneider-3/+6
2018-10-25Report const eval error inside the queryOliver Schneider-2/+4