Ben Kimock 19ecd130b5 Prune backtraces similar to RUST_BACKTRACE=1 logic
Previously, Miri would always print a backtrace including all frames
when encountering an error. This adds -Zmiri-backtrace which defaults
to 1, internally called BacktraceStyle::Short. By default, backtraces
are pruned to start at __rust_begin_short_backtrace, similar to std.
Then we also remove non-local frames from the bottom of the trace.
This cleans up the last one or two shims outside main or a test.

Users can opt out of pruning by setting -Zmiri-backtrace=full, and will
be automatically opted out if there are no local frames because that
means the reported error is likely in the Rust runtime, which this
pruning is crafted to remove.
2022-02-22 10:32:52 -05:00
..
2022-02-12 12:17:37 +01:00
2021-08-22 16:42:23 +02:00
2022-01-09 14:50:03 +01:00
2021-12-05 20:33:20 -05:00
2021-05-16 11:48:28 +02:00
2021-07-16 10:10:12 +02:00