about summary refs log tree commit diff
path: root/src/libpanic_unwind
AgeCommit message (Collapse)AuthorLines
2020-07-27mv std libs to library/mark-1279/+0
2020-07-23replace miri_start_panic intrinsic by 'extern fn'Ralf Jung-1/+6
2020-07-17Auto merge of #74395 - Mark-Simulacrum:stage0-next, r=pietroalbinibors-1/+1
Bump version to 1.47 This also bumps to a more recent rustfmt version, just to keep us relatively up to date (though almost nothing has changed in rustfmt we use beyond bumps to the parser infra). No formatting changes as a result of this. r? @pietroalbini
2020-07-16apply bootstrap cfgsMark Rousskov-1/+1
2020-07-15Use an allow-list of platforms that support std.Eric Huss-4/+16
Use a fall-through for no_std targets.
2020-07-15Introduce restricted-std feature.Eric Huss-1/+1
2020-06-24lints: add `improper_ctypes_definitions`David Wood-0/+1
This commit adds a new lint - `improper_ctypes_definitions` - which functions identically to `improper_ctypes`, but on `extern "C" fn` definitions (as opposed to `improper_ctypes`'s `extern "C" {}` declarations). Signed-off-by: David Wood <david@davidtw.co>
2020-06-03Bump to 1.46Mark Rousskov-4/+1
2020-05-17make abort intrinsic safe, and correct its documentationRalf Jung-1/+4
2020-04-25Bump bootstrap compilerMark Rousskov-13/+0
2020-04-03Make panic unwind the default for aarch64-*-windows-msvc targetsDaniel Frampton-4/+1
2020-03-19remove unused importsStefan Lankes-1/+0
patch is required to avoid compiler errors by building src/libpanic_unwind/hermit.rs
2020-03-18fix pre-expansion linting infraMazdak Farrokhzad-5/+0
2020-03-14fix comment, rustfmtRalf Jung-2/+1
2020-03-14adjust Miri interaction with panic runtimeRalf Jung-13/+42
2020-03-07Apply review feedbackAmanieu d'Antras-1/+1
2020-03-05Simplify the try intrinsic by using a callback in the catch blockAmanieu d'Antras-46/+26
2020-03-05Use #[rustc_std_internal_symbol] instead of #[no_mangle]Amanieu d'Antras-8/+4
2020-03-05Remove eh_unwind_resume lang itemAmanieu d'Antras-9/+1
2020-03-02Fix cross-DLL panics under MSVCAmanieu d'Antras-5/+8
2020-03-02Apply review feedbackAmanieu d'Antras-15/+28
2020-03-02Fix some minor issuesAmanieu d'Antras-2/+3
2020-03-02Inline catching panics into std::catch_unwindMark Rousskov-41/+13
This allows LLVM to inline the happy path, such that catching unwinding is zero-cost when no panic occurs. This also allows us to match the code generated by C++ try/catch.
2020-01-31Drop cfg(bootstrap) codeMark Rousskov-12/+5
2020-01-19Fix invalid link to C++ Exception Handling ABI documentationTianjiao Huang-1/+1
2020-01-13Fix destructor in emcc.rsAmanieu d'Antras-2/+6
2020-01-13Fix destructor return value in emcc.rsAmanieu d'Antras-6/+14
2020-01-11Abort if C++ tries to swallow a Rust panicAmanieu d'Antras-0/+9
2020-01-11Apply review feedbackAmanieu d'Antras-18/+17
2020-01-11Explain the panic! in exception_copyAmanieu d'Antras-0/+8
2020-01-11Fix a memory leak in SEH unwinding if a Rust panic is caught by C++ and ↵Amanieu d'Antras-7/+55
discarded
2020-01-11Simplify exception cleanup for libunwind-style unwindingAmanieu d'Antras-6/+4
2020-01-11Fix a memory leak in emcc if a Rust panic is caught by C++ and discardedAmanieu d'Antras-7/+17
2020-01-10make use of pointer::is_nullLzu Tao-1/+1
2020-01-06Auto merge of #66899 - msizanoen1:riscv-std, r=alexcrichtonbors-0/+3
Standard library support for riscv64gc-unknown-linux-gnu Add std support for RISC-V 64-bit GNU/Linux and update libc for RISC-V support. r? @alexcrichton
2020-01-02Auto merge of #67779 - Amanieu:ehabi_fix, r=Mark-Simulacrumbors-1/+7
Update the barrier cache during ARM EHABI unwinding Fixes #67242 r? @alexcrichton
2020-01-01Update the barrier cache during ARM EHABI unwindingAmanieu d'Antras-1/+7
2020-01-01Add support for RISC-V 64-bit GNU/Linuxmsizanoen1-0/+3
2019-12-25tidy: change msdn links to newer locationsLzu Tao-1/+1
see accouncement at https://docs.microsoft.com/welcome-to-docs
2019-12-22Format the worldMark Rousskov-88/+101
2019-11-30libunwind_panic: adjust miri panic hackRalf Jung-47/+11
2019-11-29Rollup merge of #66766 - RalfJung:panic-comments, r=SimonSapinRalf Jung-1/+1
Panic machinery comments and tweaks This is mostly more comments, but I also renamed some things: * `BoxMeUp::box_me_up` is not terribly descriptive, and since this is a "take"-style method (the argument is `&mut self` but the return type is fully owned, even though you can't tell from the type) I chose a name involving "take". * `continue_panic_fmt` was very confusing as it was entirely unclear what was being continued -- for some time I thought "continue" might be the same as "resume" for a panic, but that's something entirely different. So I renamed this to `begin_panic_handler`, matching the `begin_panic*` theme of the other entry points. r? @Dylan-DPC @SimonSapin
2019-11-26Fix spelling typosBrian Wignall-1/+1
2019-11-25better comment and rename BoxMeUp::box_me_up to take_boxRalf Jung-1/+1
2019-11-16avoid linking errorsRalf Jung-6/+1
2019-11-16miri panic_unwind: fix hack for SEH platformsRalf Jung-6/+25
2019-11-15more commentRalf Jung-0/+1
2019-11-15libpanic_unwind for Miri: make sure we have the SEH lang items when neededRalf Jung-0/+4
2019-11-13Revert "Auto merge of #65134 - ↵Robin Kruppe-1/+0
davidtwco:issue-19834-improper-ctypes-in-extern-C-fn, r=rkruppe" This reverts commit 3f0e16473de5ec010f44290a8c3ea1d90e0ad7a2, reversing changes made to 61a551b4939ec1d5596e585351038b8fbd0124ba.
2019-11-13Auto merge of #66156 - Mark-Simulacrum:stage0-step, r=pietroalbinibors-23/+3
Stage0 step r? @pietroalbini