Scott Olson
|
f472018fbb
|
Partially implement reallocation (e.g. for growing Vecs).
|
2016-04-06 17:29:56 -06:00 |
|
Scott Olson
|
284404da06
|
Fix undef mask initialization and test undef reads.
|
2016-04-06 04:35:25 -06:00 |
|
Scott Olson
|
dbd8a82643
|
Add a test for overwriting part of a relocation.
|
2016-04-06 04:19:56 -06:00 |
|
Scott Olson
|
c08ddaaa48
|
Implement a naive, slow version of undef mask copying.
|
2016-04-06 04:08:52 -06:00 |
|
Scott Olson
|
8a0aa9291a
|
Switch to bitmask-based undef mask.
|
2016-04-06 03:45:06 -06:00 |
|
Scott Olson
|
bdba4641cc
|
Rearrange code in memory.rs.
|
2016-04-04 20:33:41 -06:00 |
|
Scott Olson
|
682742c223
|
Print terminator kinds (without spans) when debugging.
|
2016-04-04 20:07:22 -06:00 |
|
Scott Olson
|
e72d8f8dc6
|
Update for changes in rustc master.
|
2016-03-31 22:34:07 -06:00 |
|
Scott Olson
|
d25ddb3130
|
Add stack traces to error notes.
|
2016-03-30 22:04:53 -06:00 |
|
Scott Olson
|
17df5cfec3
|
Move substs stack management into main stack managment fns.
|
2016-03-29 22:13:31 -06:00 |
|
Scott Olson
|
6a8bb2c1c0
|
Add initial error reporting via rustc's interface.
|
2016-03-29 19:09:32 -06:00 |
|
Scott Olson
|
e4dcdcab65
|
Remove unnecessary Result return in push_stack_frame.
|
2016-03-29 19:08:45 -06:00 |
|
Scott Olson
|
63fdd46f9a
|
Handle custom discriminant values and detect invalid discriminants.
|
2016-03-28 21:08:16 -06:00 |
|
Scott Olson
|
1861dbc2ab
|
Update for changes in rustc master.
|
2016-03-28 17:43:23 -06:00 |
|
Scott Olson
|
62294d0c42
|
Mark bytes undefined in uninit intrinsic.
|
2016-03-28 16:37:07 -06:00 |
|
Scott Olson
|
56e118f86c
|
Mark partially-overwritten relocations as undefined.
|
2016-03-27 00:29:02 -06:00 |
|
Scott Olson
|
62fab9268e
|
Fix bug where &str's lengths were not copied.
|
2016-03-26 23:57:14 -06:00 |
|
Scott Olson
|
acf2ceb534
|
Check for undefinedness when reading from memory.
|
2016-03-26 23:56:49 -06:00 |
|
Scott Olson
|
68ccf3904e
|
Add method for checking if a range is defined in an allocation.
|
2016-03-26 23:25:35 -06:00 |
|
Scott Olson
|
33e924d383
|
Add undefined byte tracking.
|
2016-03-26 22:25:08 -06:00 |
|
Scott Olson
|
5451b6115b
|
Reorganize memory methods.
|
2016-03-23 21:40:58 -06:00 |
|
Scott Olson
|
87458955dd
|
Refactor memory/allocation handling.
|
2016-03-23 19:44:05 -06:00 |
|
Scott Olson
|
f96c76e878
|
Use Box<[u8]> instead of Vec<u8> for allocations.
|
2016-03-22 00:48:28 -06:00 |
|
Scott Olson
|
e6c58d8277
|
Assert the absence of fat pointers more often.
|
2016-03-21 18:51:08 -06:00 |
|
Scott Olson
|
69c41f5372
|
Write the correct size for PrimVall::IntegerPtr.
|
2016-03-21 05:42:42 -06:00 |
|
Scott Olson
|
600ff26e65
|
Refactor handling of relocations.
|
2016-03-21 05:27:34 -06:00 |
|
Scott Olson
|
59e25cc52c
|
Hide execution traces (they are getting long...)
|
2016-03-21 04:19:27 -06:00 |
|
Scott Olson
|
3fc9b7dd2c
|
Make more MIR match statements exhaustive.
|
2016-03-21 04:01:52 -06:00 |
|
Scott Olson
|
69f41facb9
|
Support intrinsics::overflowing_sub for vec![x; n].
|
2016-03-21 03:42:34 -06:00 |
|
Scott Olson
|
dc5fbf17ca
|
Support [x; N] array repeat rvalues.
|
2016-03-21 03:34:24 -06:00 |
|
Scott Olson
|
6eef7cc01a
|
Make mir::Rvalue handling exhaustive (some still unimplemented).
|
2016-03-21 03:19:48 -06:00 |
|
Scott Olson
|
877d2d900e
|
Abort miri if the Rust code had compilation errors.
|
2016-03-21 02:54:20 -06:00 |
|
Scott Olson
|
207463d9a0
|
Add array indexing for-loop test.
|
2016-03-21 02:37:31 -06:00 |
|
Scott Olson
|
2994732a81
|
Remove debug print.
|
2016-03-21 01:04:50 -06:00 |
|
Scott Olson
|
0de1bbefd5
|
Refactor isize/usize read/writes.
|
2016-03-20 23:24:27 -06:00 |
|
Scott Olson
|
95e225d765
|
Monomorphize lvalue types.
|
2016-03-20 23:11:06 -06:00 |
|
Scott Olson
|
49e8d3ef5e
|
Simplify handling of Result in eval_assignment.
|
2016-03-20 23:09:27 -06:00 |
|
Scott Olson
|
f7d0e0423b
|
Support fat pointer reborrowing, length checking.
|
2016-03-20 22:59:13 -06:00 |
|
Scott Olson
|
dbd01d071a
|
Refactor some names.
|
2016-03-20 22:07:25 -06:00 |
|
Scott Olson
|
40d0a1f67f
|
Implement length access and indexing for fixed-sized arrays.
|
2016-03-20 21:30:31 -06:00 |
|
Scott Olson
|
62c5083f30
|
Reduce duplication for integer reprs.
|
2016-03-20 20:33:46 -06:00 |
|
Scott Olson
|
c8781e3c01
|
Support fn pointer type sizes.
|
2016-03-20 20:16:40 -06:00 |
|
Scott Olson
|
2e12b220be
|
Stop unintentionally clearing source relocations when copying.
|
2016-03-20 20:15:13 -06:00 |
|
Scott Olson
|
493b5f649c
|
Implement the move_val_init intrinsic.
|
2016-03-20 19:23:57 -06:00 |
|
Scott Olson
|
28ccc2bf65
|
Implement the __rust_allocate C ABI function.
|
2016-03-20 18:41:39 -06:00 |
|
Scott Olson
|
6a000b37cc
|
Simplify Misc casts (still incorrect).
|
2016-03-19 11:07:19 -06:00 |
|
Scott Olson
|
20f152296a
|
Implement min_align_of and a hacky mul_with_overflow.
|
2016-03-19 11:01:33 -06:00 |
|
Scott Olson
|
6c6cea28bd
|
Write intrinsic result to correct lvalue.
|
2016-03-19 10:01:53 -06:00 |
|
Scott Olson
|
1eb66b6701
|
Handle "offset" intrinsic on integer pointers.
|
2016-03-19 09:09:13 -06:00 |
|
Scott Olson
|
668f2b6fd4
|
Implement bytestring literals.
|
2016-03-18 23:20:59 -06:00 |
|