about summary refs log tree commit diff
path: root/src/tools/miri/tests/fail/panic
AgeCommit message (Collapse)AuthorLines
2025-09-02improve process::abort rendering in Miri backtracesRalf Jung-45/+23
2025-08-07Rollup merge of #144903 - Kivooeo:panic_handler-is-not-begin, r=m-ou-seTrevor Gross-12/+12
Rename `begin_panic_handler` to `panic_handler` Part of https://github.com/rust-lang/rust/issues/116005
2025-08-06Print thread ID in panic message if thread name is unknownTrevor Gross-12/+12
`panic!` does not print any identifying information for threads that are unnamed. However, in many cases, the thread ID can be determined. This changes the panic message from something like this: thread '<unnamed>' panicked at src/main.rs:3:5: explicit panic To something like this: thread '<unnamed>' (0xff9bf) panicked at src/main.rs:3:5: explicit panic Stack overflow messages are updated as well. This change applies to both named and unnamed threads. The ID printed is the OS integer thread ID rather than the Rust thread ID, which should also be what debuggers print.
2025-08-04remove begin prefixKivooeo-12/+12
2025-08-03remove rust_ prefixesKivooeo-6/+6
2025-06-07diagnostics: do not repeat the entire message in the span labelRalf Jung-9/+9
2025-05-24rename internal panicking::try to catch_unwindRalf Jung-2/+2
2025-05-15normalize abort calls in miri testsjoboet-20/+28
2025-04-18rtprintpanic: clarify that the error is aborting the processLieselotte-2/+2
2025-03-14Do not suggest using `-Zmacro-backtrace` for builtin macrosEsteban Küber-5/+0
For macros that are implemented on the compiler, we do *not* mention the `-Zmacro-backtrace` flag. This includes `derive`s and standard macros.
2025-02-14Bless miri tests after applying unsafe_op_in_unsafe_fnEric Huss-4/+4
2025-01-21remove support for the #[start] attributeRalf Jung-4/+5
2025-01-01Try to write the panic message with a single `write_all` callJohn Kåre Alsaker-0/+12
2024-09-23add test for new abort_unwind functionRalf Jung-0/+44
2024-09-16Bump ui testOli Scherer-26/+26
2024-08-24panicking: improve hint for Miri's RUST_BACKTRACE behaviorRalf Jung-6/+6
2024-06-19Remove c_unwind from tests and fix testsGary Guo-2/+0
2024-06-16std: move `sys_common::backtrace` to `sys`joboet-5/+5
2024-04-20Merge from rustcThe Miri Cronjob Bot-0/+6
2024-04-18when suggesting RUST_BACKTRACE=1, add a special note for Miri's env var ↵Ralf Jung-0/+6
isolation
2024-04-17tests/utils: add fmt::Write implementations for miri's native stdout/stderrRalf Jung-20/+4
2024-04-16no_std works on Windows nowRalf Jung-4/+0
2024-03-09simplify no-std testsRalf Jung-4/+2
set panic=abort so that we do not need this eh_personality thing
2024-03-02remove the ability to disable ABI checkingRalf Jung-29/+3
2024-03-02print thread name in miri error backtracesRalf Jung-0/+6
2024-02-26miri: rename miri_start_panic → miri_start_unwindRalf Jung-10/+10
2024-01-11std: update miri testsjoboet-2/+2
2023-11-24Bless Miri testsNilstrieb-11/+11
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
2023-11-12more consistent naming for TLS testsRalf Jung-2/+2
2023-09-23Merge from rustcThe Miri Conjob Bot-8/+8
2023-09-21adjust how closure/generator types and rvalues are printedRalf Jung-8/+8
2023-09-21deprecate -Zmiri-disable-abi-checkRalf Jung-0/+2
2023-08-29Merge from rustcThe Miri Conjob Bot-2/+1
2023-08-27avoid triple-backtrace due to panic-during-cleanupRalf Jung-2/+1
2023-08-26Merge from rustcThe Miri Conjob Bot-2/+2
2023-08-24when terminating during unwinding, show the reason whyRalf Jung-2/+2
2023-08-22fix some bad regex capture group references in test normalizationRalf Jung-2/+2
2023-08-20interpret/miri: call panic_cannot_unwind lang item instead of hard-coding ↵Ralf Jung-6/+21
the same message
2023-07-29Fix test output.Mara Bos-2/+4
2023-07-29Change default panic handler message format.Mara Bos-8/+16
2023-06-16make test work cross-platformRalf Jung-31/+10
2023-06-16add tests for panicky drop in thread_local destructorRalf Jung-0/+75
2023-05-27Add support for nested panics to miriAmanieu d'Antras-23/+9
2023-05-09Update to latest ui_test crate version.Oli Scherer-5/+5
Also stops using github actions groups that conflict with our groups as github does not nest them
2023-05-08port tests to 2021 editionRalf Jung-8/+10
2023-04-24Hide backtrace from stderr filesOli Scherer-62/+2
2022-12-06Reintroduce the span printing in miri (plus point to spans where possible)Oli Scherer-39/+39
2022-12-06Remove now-redundant file/line info from const backtracesOli Scherer-47/+47
2022-10-28update ignore-windows commentsRalf Jung-1/+1
2022-10-19Magic functions for writing to stdout/stderr.Cliff L. Biffle-0/+60
This enables I/O in no_std contexts (or, really, any Miri-specific OS-independent context). Combined with the `abort` intrinsic it should allow a reasonable test framework in no_std.