summary refs log tree commit diff
path: root/src/librustc_mir/interpret/memory.rs
AgeCommit message (Expand)AuthorLines
2020-04-19Dogfood more or_patterns in the compilerJosh Stone-1/+1
2020-04-16mir/interpret: only use `ErrorHandled::Reported` for `ErrorReported`.Eduard-Mihai Burtescu-6/+3
2020-04-13Miri: let machine hook dynamically decide about alignment checksRalf Jung-2/+2
2020-04-10added machine hooks to track deallocationsOzaren-0/+2
2020-04-04indicate better which kind of memory got leakedRalf Jung-11/+15
2020-04-04share more alloc printing code between Miri and MIR dumpingRalf Jung-37/+34
2020-04-04avoid printing allocations twiceRalf Jung-8/+10
2020-04-04Miri leak_report: do not report leaks of allocations that are reachable from ...Ralf Jung-5/+24
2020-04-02nix rustc_target::abi::* reexport in ty::layoutMazdak Farrokhzad-3/+2
2020-03-30rustc -> rustc_middle part 3 (rustfmt)Mazdak Farrokhzad-1/+1
2020-03-30rustc -> rustc_middle part 2Mazdak Farrokhzad-2/+2
2020-03-27Auto merge of #69916 - oli-obk:mir_bless, r=eddybbors-71/+25
2020-03-26add 'fn write_u16s'(rustc_mir::interpret::Memory)JOE1994-2/+42
2020-03-26Enable `--bless`ing of MIR dumpsOliver Scherer-71/+25
2020-03-25Rollup merge of #70379 - JOE1994:patch-2, r=petrochenkovDylan DPC-2/+2
2020-03-25add usize methods for Size gettersRalf Jung-7/+6
2020-03-25go back to infix ops for SizeRalf Jung-7/+7
2020-03-25make Size::from* methods generic in the integer type they acceptRalf Jung-1/+1
2020-03-25use checked casts and arithmetic in Miri engineRalf Jung-16/+14
2020-03-24fix type name typo in doc commentsYoungsuk Kim-2/+2
2020-03-24fix const_prop ICERalf Jung-1/+4
2020-03-24get back the more precise error messageRalf Jung-1/+1
2020-03-24move ModifiedStatic error to ConstEval errors, and generally adjust terminolo...Ralf Jung-54/+56
2020-03-24Rollup merge of #70087 - ecstatic-morse:remove-const-eval-loop-detector, r=Ra...Mazdak Farrokhzad-19/+0
2020-03-17Use `const_eval_limit` instead of infinite loop detectorDylan MacKenzie-19/+0
2020-03-11avoid boolean inversionRalf Jung-3/+3
2020-03-11generalize InvalidNullPointerUsage to InvalidIntPointerUsageRalf Jung-1/+1
2020-03-11fmt, tweak messages and blessRalf Jung-7/+22
2020-03-11miri: categorize errors into "unsupported" and "UB"Ralf Jung-34/+33
2020-03-08Rollup merge of #69326 - JOE1994:os_str_widestring, r=RalfJungMazdak Farrokhzad-0/+27
2020-03-06mir-interpret: add method Memory::read wide_stringJOE1994-0/+27
2020-03-04Don't use "if let" bindings to only check a value and not actually bind anyth...Matthias Krüger-1/+1
2020-03-01Auto merge of #69408 - RalfJung:canonical-alloc-id, r=oli-obkbors-26/+33
2020-02-29Rename `syntax` to `rustc_ast` in source codeVadim Petrochenkov-1/+1
2020-02-23canonicalize alloc ID before calling tag_static_base_pointerRalf Jung-1/+2
2020-02-23miri/machine: add canonical_alloc_id hook to replace find_foreign_staticRalf Jung-25/+31
2020-02-19Check `RUSTC_CTFE_BACKTRACE` much less by generating fewer errorsWesley Wiser-6/+6
2020-01-16let rustfmt undo most of my edits :(Ralf Jung-2/+1
2020-01-16fix rustfmt falloutRalf Jung-2/+2
2019-12-28Avoid copying some undef memory in MIRSantiago Pastorino-24/+28
2019-12-27Avoid memory copy logic for zstsSantiago Pastorino-1/+9
2019-12-23Dynamically prevent constants from accessing staticsOliver Scherer-3/+4
2019-12-22Format the worldMark Rousskov-110/+93
2019-12-201. ast::Mutability::{Mutable -> Mut, Immutable -> Not}.Mazdak Farrokhzad-3/+3
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