summary refs log tree commit diff
path: root/compiler/rustc_middle/src/mir
AgeCommit message (Expand)AuthorLines
2021-07-18miri: better ptr-out-of-bounds errorsRalf Jung-14/+30
2021-07-17Auto merge of #87123 - RalfJung:miri-provenance-overhaul, r=oli-obkbors-291/+287
2021-07-17Auto merge of #86761 - Alexhuszagh:master, r=estebankbors-1/+0
2021-07-17Changed dec2flt to use the Eisel-Lemire algorithm.Alex Huszagh-1/+0
2021-07-16avoid manual Debug impls by adding extra Provenance bounds to typesRalf Jung-3/+5
2021-07-16add some comments regarding the two major quirks of our memory modelRalf Jung-1/+8
2021-07-16get rid of incorrect erase_for_fmtRalf Jung-57/+25
2021-07-15tweak pointer out-of-bounds error messageRalf Jung-5/+15
2021-07-15enable Miri to fix the bytes in an allocation (since ptr offsets have differe...Ralf Jung-16/+24
2021-07-15adjustions and cleanup to make Miri build againRalf Jung-53/+15
2021-07-14remove unused error variantRalf Jung-3/+0
2021-07-14more precise message for the ptr access check on derefRalf Jung-1/+8
2021-07-14use NonZeroU64 for AllocId to restore old type sizesRalf Jung-6/+6
2021-07-14consistently treat None-tagged pointers as ints; get rid of some deprecated S...Ralf Jung-83/+70
2021-07-14CTFE/Miri engine Pointer type overhaul: make Scalar-to-Pointer conversion inf...Ralf Jung-191/+239
2021-07-12remove remaining use of Pointer in Allocation APIRalf Jung-10/+9
2021-07-09Rollup merge of #86855 - LeSeulArtichaut:patch-1, r=davidtwcoMara Bos-1/+1
2021-07-06Truncate hex stable crate id to 8 characters (32 bits)bjorn3-2/+7
2021-07-06Revert "Revert "Merge CrateDisambiguator into StableCrateId""bjorn3-5/+8
2021-07-06Rollup merge of #86685 - RalfJung:alloc-mut, r=oli-obkYuki Okushi-0/+3
2021-07-04Fix comments about unique borrowsLeSeulArtichaut-1/+1
2021-07-02Allocation failure in constprop panics right awaySmitty-1/+4
2021-06-30Delay ICE on evaluation failSmitty-0/+5
2021-06-30Note that even ConstProp follows the rulesSmittyvb-2/+2
2021-06-30Simplify memory failure checkingSmitty-6/+0
2021-06-30Rename is_spurious -> is_volatileSmitty-1/+1
2021-06-30simplify explanation commentSmittyvb-9/+2
2021-06-29Properly handle const prop failuresSmitty-5/+14
2021-06-29Add comment with reasoning for non-determinismSmitty-0/+9
2021-06-29Simplify allocation creationSmitty-2/+1
2021-06-29Make memory exhaustion a hard errorSmitty-1/+2
2021-06-29Support allocation failures when interperting MIRSmitty-6/+20
2021-06-28double-check mutability inside AllocationRalf Jung-0/+3
2021-06-21Fix unused_unsafe with compiler-generated unsafeCameron Steffen-0/+2
2021-06-18Auto merge of #86194 - RalfJung:const-ub-hard-error, r=oli-obkbors-0/+1
2021-06-18Auto merge of #85421 - Smittyvb:rm_pushpop_unsafe, r=matthewjasperbors-2/+0
2021-06-18make UB during CTFE a hard errorRalf Jung-0/+1
2021-06-17Rollup merge of #86340 - Smittyvb:ctfe-hard-error-message, r=RalfJungYuki Okushi-0/+10
2021-06-16Move some hard error logic to InterpErrorSmitty-0/+10
2021-06-14Improve documentation on `UndefinedBehaviorInfo::ValidationFailure`Rémy Rakic-0/+2
2021-06-13Improve CTFE validation error messageRémy Rakic-4/+10
2021-06-13Auto merge of #86245 - lqd:const-ub-align, r=RalfJungbors-2/+10
2021-06-13Turn incorrect vtable size/alignment errors into hard const-UB errorsRémy Rakic-2/+10
2021-06-12Auto merge of #86130 - BoxyUwU:abstract_const_as_cast, r=oli-obkbors-2/+3
2021-06-09Auto merge of #86118 - spastorino:tait-soundness-bug, r=nikomatsakisbors-2/+3
2021-06-08Support as casts in abstract constsEllen-2/+3
2021-06-07Remove ResolvedOpaqueTy and just use Ty, SubstsRef is already thereSantiago Pastorino-1/+1
2021-06-07Make OpaqueTypeKey the key of opaque types mapSantiago Pastorino-1/+2
2021-06-07Change concrete opaque type to be a `VecMap`Santiago Pastorino-2/+2
2021-06-07Revert "Merge CrateDisambiguator into StableCrateId"bjorn3-8/+5