summary refs log tree commit diff
path: root/src/librustc_mir/interpret/memory.rs
AgeCommit message (Expand)AuthorLines
2018-12-31Explain the mathOliver Scherer-4/+9
2018-12-31Remove a wrong multiplier on relocation offset computationOliver Scherer-4/+4
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
2018-10-23fix typos in various placesMatthias Krüger-3/+3
2018-10-21Rename alloc_map_ref to alloc_mapbjorn3-1/+1
2018-10-21Add alloc_map accessorbjorn3-0/+5
2018-10-18Forward entire ptr used for dealloaction to machineRalf Jung-2/+2
2018-10-18provide machine hooks for creating references and accessing memoryRalf Jung-8/+14
2018-10-18give machine more control over what counts as memory leakRalf Jung-8/+13
2018-10-18add support for storing extra data in an allocationRalf Jung-15/+9
2018-10-13run-time validation: accept undef in int arrays, as we do for intsRalf Jung-4/+4
2018-10-13address nitsRalf Jung-0/+1
2018-10-13validation: accept pointers in integer arraysRalf Jung-1/+23
2018-10-10tidy upRalf Jung-1/+6