summary refs log tree commit diff
path: root/src/librustc_mir/interpret/memory.rs
AgeCommit message (Expand)AuthorLines
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-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
2019-07-06Rollup merge of #62264 - RalfJung:inline-forcing, r=zackmdavisMazdak Farrokhzad-11/+11
2019-07-06Rollup merge of #62257 - RalfJung:miri-c-str, r=estebankMazdak Farrokhzad-0/+10
2019-07-06Rollup merge of #62245 - RalfJung:miri-extra-fn, r=eddyb,zackmdavisMazdak Farrokhzad-36/+84
2019-07-04make Memory::get_fn take a Scalar like most of the Memory API surfaceRalf Jung-1/+2
2019-07-04fix for tidyRalf Jung-1/+1
2019-07-04fix determinig the size of foreign static allocationsRalf Jung-5/+19
2019-07-04Add basic support for "other" kinds of values for function pointers, determin...Ralf Jung-44/+77
2019-07-04Go back to just passing MemoryExtra to the machine-level allocation hooksRalf Jung-8/+8
2019-07-04Machine: make self-like parameters come firstRalf Jung-6/+6
2019-07-04Fix merge conflictsChristian Poveda-6/+9
2019-07-01miri realloc: do not require giving old size+alignRalf Jung-6/+9
2019-07-01forward read_c_str method from Memory to AllocRalf Jung-0/+10
2019-06-29Add MemoryExtra in InterpretCx constructor paramsChristian Poveda-2/+2
2019-06-23expand commentRalf Jung-1/+2
2019-06-23deduplicate some codeRalf Jung-17/+15
2019-06-23comment tweaks, better validation errors, update UI testsRalf Jung-15/+13
2019-06-23clean up internals of pointer checks; make get_size_and_align also check for ...Ralf Jung-88/+65
2019-06-23Centralize bounds, alignment and NULL checking for memory accesses in one fun...Ralf Jung-27/+97
2019-06-20Fix merge issuesChristian Poveda-61/+23
2019-06-20Updated tag methods for consistencyChristian Poveda-7/+7
2019-06-20Replace MemoryExtra by Memory in intptrcast methodsChristian Poveda-2/+2
2019-06-19More FIXMEsOliver Scherer-0/+1
2019-06-19Prevent cyclic locks of `alloc_map`Oliver Scherer-1/+4
2019-06-19Make interning explicitly care about types and the mutability of memoryOliver Scherer-60/+18
2019-06-16Replace to_bits by force_bits and move size as parameterChristian Poveda-2/+6
2019-06-16Change to_ptr by force_ptrChristian Poveda-3/+3
2019-06-16Add force_bits and force_ptr methodsChristian Poveda-0/+17
2019-06-14Unify all uses of 'gcx and 'tcx.Eduard-Mihai Burtescu-3/+3