Ben Kimock
c2f459ca74
Clean up implementation, deduplicate in errors
2022-12-21 21:11:19 -05:00
Ben Kimock
749b2b077d
Re-enable the VClock ordering tests
2022-12-20 22:54:44 -05:00
Ben Kimock
d2e1c3738e
Fix span management
2022-12-20 22:48:23 -05:00
Ben Kimock
d1184ae58d
Include a Span in VClock
2022-12-16 11:39:08 -05:00
Ralf Jung
39bb865759
fmt
2022-12-16 14:19:48 +01:00
Ralf Jung
3d67703e75
Merge from rustc
2022-12-16 12:19:43 +01:00
Ralf Jung
33e5b953de
Preparing for merge from rustc
2022-12-16 12:19:21 +01:00
Oli Scherer
d9d92ed7da
Move alignment failure error reporting to machine
2022-12-15 16:07:35 +00:00
Oli Scherer
d66824dbc4
Make alignment checks a future incompat lint
2022-12-15 16:07:28 +00:00
DebugSteven
1b51f372eb
implement minimal epoll_create1 shim
2022-12-13 14:04:30 -07:00
bors
8b19af0582
Auto merge of #2725 - RalfJung:host-to-target-path, r=RalfJung
...
make unix path handling on Windows hosts (and vice versa) preserve absoluteness
Also adds a magic Miri extern function so this conversion can be invoked by the program. That avoids having to duplicate that logic.
2022-12-12 10:59:40 +00:00
Ralf Jung
2949702a5c
Windows targets: make sure current_dir is absolute
2022-12-12 11:16:52 +01:00
Ralf Jung
802987dc9e
make unix path handling on Windows hosts preserve absoluteness
2022-12-12 11:00:47 +01:00
Ralf Jung
a66780bc3f
More host/target path conversion tests:
...
- test that the tmpdir Miri tests see is absolute and a directory
- test that current_dir returns an absolute path
2022-12-12 11:00:47 +01:00
Ralf Jung
c19ca083ee
expose host-to-target path conversion to interpreted program
2022-12-12 11:00:47 +01:00
Ralf Jung
f0bb7c7264
make eval_libc functions ICE on any problem
2022-12-12 08:38:07 +01:00
Ralf Jung
c905ef4a6b
make flag checks reobust against multi-bit flags
2022-12-12 08:26:56 +01:00
Ralf Jung
a4b966a07f
add provenance-related test
2022-12-11 23:04:03 +01:00
Nia Espera
7949f21cbe
add support for variable page sizes to miri
2022-12-11 17:06:06 +01:00
Ralf Jung
f25d8a6189
Merge from rustc
2022-12-11 09:52:23 +01:00
Ralf Jung
30e435907e
Preparing for merge from rustc
2022-12-11 09:52:08 +01:00
bors
17b5fdac0f
Auto merge of #2719 - RalfJung:rustup, r=RalfJung
...
Rustup
2022-12-09 11:57:16 +00:00
Ralf Jung
3ba51ac498
fmt and clippy
2022-12-09 09:45:50 +01:00
Ralf Jung
aab3bcecb7
Merge from rustc
2022-12-09 08:54:39 +01:00
Ralf Jung
4e9f8393f8
Preparing for merge from rustc
2022-12-09 08:54:20 +01:00
bors
badd6a5a03
Auto merge of #104449 - oli-obk:unhide_unknown_spans, r=estebank,RalfJung
...
Start emitting labels even if their pointed to file is not available locally
r? `@estebank`
cc `@RalfJung`
fixes #97699
2022-12-09 06:24:28 +00:00
Pointerbender
20a4c73717
add graceful shim for the custom O_TMPFILE linux file opening flag plus test case
2022-12-08 20:56:23 +01:00
Oli Scherer
9188f8cb82
Emit full spans in miri
2022-12-06 18:59:47 +00:00
Oli Scherer
1ccac16ef6
Bless after rebase
2022-12-06 18:59:47 +00:00
Oli Scherer
fa99459b42
Reintroduce the span printing in miri (plus point to spans where possible)
2022-12-06 18:59:46 +00:00
Oli Scherer
7782a2b70d
Remove now-redundant file/line info from const backtraces
2022-12-06 18:59:46 +00:00
Ralf Jung
34c58e897f
Stacked Borrows: factor the logic determining the new permissions on retag into a separate function
2022-12-06 10:33:34 +01:00
Ralf Jung
9397ea1368
make retagging work even with 'unstable' places
2022-12-06 10:33:34 +01:00
Ralf Jung
16a9fdf663
Preparing for merge from rustc
2022-12-05 13:51:41 +01:00
Ralf Jung
3fa692c8b2
for now, do not do fake reads on non-Unpin mutable references
2022-12-03 19:05:56 +01:00
Ralf Jung
3b4cbe9095
add test for self-referential future
2022-12-03 18:38:16 +01:00
Ralf Jung
29814f2e2a
clippy
2022-12-03 13:31:57 +01:00
Ralf Jung
b64d8670e4
Merge from rustc
2022-12-02 18:16:08 +01:00
Ralf Jung
80ab672b86
Preparing for merge from rustc
2022-12-02 18:14:53 +01:00
bors
7d75cc48fe
Auto merge of #2710 - RalfJung:ptr-tracking-ice, r=oli-obk
...
fix ICE in pointer tracking
Fixes https://github.com/rust-lang/miri/issues/2709
2022-12-02 15:36:49 +00:00
bors
4a64902a9d
Auto merge of #2711 - RalfJung:btrack, r=RalfJung
...
slight simplifications for borrow tracking
and some renaming for consistency
2022-12-02 13:48:14 +00:00
Ralf Jung
0d1e365272
fix ICE in pointer tracking
2022-12-02 14:47:25 +01:00
Ralf Jung
b12ce552ff
rename some more types for consistency
2022-12-02 14:44:41 +01:00
Ralf Jung
595490e8dd
slight simplifications for borrow tracking
2022-12-02 14:43:05 +01:00
bors
89dd322512
Auto merge of #2708 - RalfJung:verbose-setup, r=RalfJung
...
forward verbosity to cargo setup
2022-12-02 13:19:27 +00:00
Ralf Jung
5fd4b84e20
forward verbosity to cargo setup
2022-12-02 13:57:20 +01:00
Vanille-N
ab08f2a813
fix imports
2022-12-02 13:30:06 +01:00
Vanille-N
8bb3d9e94a
other renames, introduction of BorrowTrackerMethod and AllocExtra
2022-12-02 13:29:48 +01:00
Vanille-N
3a01493433
SbTag -> BorTag everywhere
2022-12-02 13:27:41 +01:00
Vanille-N
2528f4e668
move stacked_borrows to borrow_tracker/stacked_borrows
2022-12-02 13:23:57 +01:00