about summary refs log tree commit diff
path: root/src/tools/miri/tests/pass/panic
AgeCommit message (Collapse)AuthorLines
2025-08-06Print thread ID in panic message if thread name is unknownTrevor Gross-17/+17
`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-04-29add -Zmiri-deterministic-concurrency flag and use it for concurrency testsRalf Jung-1/+1
2025-04-29Added random schedulinggeetanshjuneja-1/+1
2025-01-01Try to write the panic message with a single `write_all` callJohn Kåre Alsaker-0/+17
2024-09-21fmt (with a huge diff for some reason)Ralf Jung-2/+2
2024-09-16Bump ui testOli Scherer-17/+17
2024-08-24panicking: improve hint for Miri's RUST_BACKTRACE behaviorRalf Jung-4/+4
2024-05-19various small nitsRalf Jung-15/+16
- share implementation with miri_starting_unwind - make test use a custom unwinding class - extend comments - use NeedsUnwind more consistently
2024-05-19Directly implement native exception raise methods in miribjorn3-0/+95
Windows still needs the old custom ABI as SEH unwinding isn't supported by miri. Unlike DWARF unwinding it preserves all stack frames until right after the do_catch function has executed. Because of this panic_unwind stack allocates the exception object. Miri can't currently model unwinding without destroying stack frames and as such will report a use-after-free of the exception object.
2024-04-18when suggesting RUST_BACKTRACE=1, add a special note for Miri's env var ↵Ralf Jung-0/+4
isolation
2024-03-03move thread-panic tests to their own file; test getting the thread nameRalf Jung-0/+30
2023-12-03miri: support 'promising' alignment for symbolic alignment checkRalf Jung-2/+1
2023-10-10avoid confusing loop in catch_panic testRalf Jung-5/+6
2023-08-28tests/catch_panic: make output easier to interpretRalf Jung-17/+19
2023-08-22fix some bad regex capture group references in test normalizationRalf Jung-2/+2
2023-07-29Change default panic handler message format.Mara Bos-15/+30
2023-05-27Add support for nested panics to miriAmanieu d'Antras-0/+29
2023-05-08port tests to 2021 editionRalf Jung-6/+3
2022-11-20fix unused warning in a testRalf Jung-1/+1
2022-11-05impl condvars for windowsDrMeepster-1/+0
2022-09-21Add 'src/tools/miri/' from commit '75dd959a3a40eb5b4574f8d2e23aa6efbeb33573'Oli Scherer-0/+287
git-subtree-dir: src/tools/miri git-subtree-mainline: 3f3167fb59341ac3240ca1774f48e8c053219131 git-subtree-split: 75dd959a3a40eb5b4574f8d2e23aa6efbeb33573