-
Notifications
You must be signed in to change notification settings - Fork 424
Open
Labels
A-diagnosticserrors and warnings emitted by mirierrors and warnings emitted by miriA-weak-memoryArea: emulation of weak memory effects (store buffers)Area: emulation of weak memory effects (store buffers)C-enhancementCategory: a PR with an enhancement or an issue tracking an accepted enhancementCategory: a PR with an enhancement or an issue tracking an accepted enhancement
Description
When our weak memory emulation finds a bug, it can be quite hard to figure out the details. Using -Zmiri-disable-weak-memory-emulation is useful to confirm that it is indeed a weak memory bug, but what then?
One thing we could do is offer a flag to print a diagnostic every time an outdated value is returned from a load. One of them must be the cause of the bug. @cbeuw has some draft of that at cbeuw@64d738c.
Metadata
Metadata
Assignees
Labels
A-diagnosticserrors and warnings emitted by mirierrors and warnings emitted by miriA-weak-memoryArea: emulation of weak memory effects (store buffers)Area: emulation of weak memory effects (store buffers)C-enhancementCategory: a PR with an enhancement or an issue tracking an accepted enhancementCategory: a PR with an enhancement or an issue tracking an accepted enhancement