Skip to content

Commit

Permalink
Auto merge of #1185 - RalfJung:readme, r=RalfJung
Browse files Browse the repository at this point in the history
fix README

With #1127, we do not abort execution any more when the tracked tag gets popped, we just show a backtrace.
  • Loading branch information
bors committed Feb 22, 2020
2 parents a3dad21 + 86a4354 commit c40a31e
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -171,11 +171,10 @@ Several `-Z` flags are relevant for Miri:
sets this flag per default.
* `-Zmir-emit-retag` controls whether `Retag` statements are emitted. Miri
enables this per default because it is needed for validation.
* `-Zmiri-track-pointer-tag=<tag>` aborts interpretation with a backtrace when the
given pointer tag is popped from a borrow stack (which is where the tag
becomes invalid and any future use of it will error anyway). This helps you
in finding out why UB is happening and where in your code would be a good
place to look for it.
* `-Zmiri-track-pointer-tag=<tag>` shows a backtrace when the given pointer tag
is popped from a borrow stack (which is where the tag becomes invalid and any
future use of it will error). This helps you in finding out why UB is
happening and where in your code would be a good place to look for it.

Moreover, Miri recognizes some environment variables:

Expand Down

0 comments on commit c40a31e

Please sign in to comment.