summary refs log tree commit diff
path: root/src/libpanic_unwind
AgeCommit message (Collapse)AuthorLines
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
2019-11-12Remove no longer needed mutabilityMark Rousskov-1/+1
2019-11-12Snap cfgsMark Rousskov-22/+2
2019-11-11Remove trampoline, pass `ret` and `unwind` when handling intrinsicsAaron Hill-8/+0
2019-11-11Fix tidyAaron Hill-2/+0
2019-11-11Move to miri.rs and re-export itAaron Hill-4/+9
2019-11-11Add commentAaron Hill-0/+2
2019-11-11Add miri trampoline, fix handling of intrinsic returnAaron Hill-0/+3
2019-11-11Use proper intrinsic typeAaron Hill-2/+1
2019-11-11More work on miri_start_panicAaron Hill-1/+9
2019-11-11Fix up intrinsic implementationAaron Hill-2/+6
2019-11-11Add explicit Miri support to libpanic_unwindAaron Hill-1/+16
2019-11-05improper_ctypes: `extern "C"` fnsDavid Wood-0/+1
2019-11-03Make Emscripten unwinding use a valid type_infoAmanieu d'Antras-12/+45
This allows catch_panic to ignore C++ exceptions.
2019-11-03Make SEH exceptions use a rust_panic type instead of unsigned __int64*Amanieu d'Antras-136/+46
2019-11-03Allow foreign exceptions to unwind through Rust codeAmanieu d'Antras-254/+173
2019-10-25Merge branch 'master' into rusty-hermit, resolve conflictsStefan Lankes-7/+7
2019-10-22Apply clippy::needless_return suggestionsMateusz Mikuła-7/+7
2019-10-06redesign of the interface to the unikernel HermitCoreStefan Lankes-0/+24
- the old interface between HermitCore and the Rust Standard Library based on a small C library (newlib) - remove this interface and call directly the unikernel - remove the dependency to the HermitCore linker - use rust-lld as linker
2019-08-02libpanic_unwind: Unconfigure tests during normal buildVadim Petrochenkov-18/+22
2019-07-28Remove lint annotations in specific crates that are already enforced by ↵Vadim Petrochenkov-2/+0
rustbuild Remove some random unnecessary lint `allow`s
2019-07-22add support for hexagon-unknown-linux-muslBrian Cain-0/+3
2019-06-17Make use of `ptr::null(_mut)` instead of casting zeroLzu Tao-4/+4
2019-06-10std: Remove internal definitions of `cfg_if!` macroAlex Crichton-39/+2
This is duplicated in a few locations throughout the sysroot to work around issues with not exporting a macro in libstd but still wanting it available to sysroot crates to define blocks. Nowadays though we can simply depend on the `cfg-if` crate on crates.io, allowing us to use it from there!