4e71a2cd5a
Update Cargo.lock
2024-10-04 12:37:25 -05:00
fc4ad35577
Remove stabilized c_unwind feature
2024-09-04 10:52:21 -05:00
d752e84adb
Update Cargo.lock
2024-07-07 08:47:15 -05:00
ef2c200969
Add fork notice to README
2024-03-29 16:00:32 -05:00
30cff68007
Update to latest upstream
2024-03-29 15:59:15 -05:00
Taiki Endo
d7cd46e009
Use intrinsics::catch_unwind instead of intrinsics::try
...
intrinsics::try has been renamed in https://github.com/rust-lang/rust/pull/121598 .
2024-02-28 15:52:43 +00:00
Gary Guo
6720a34c66
Fix static_mut_ref warning
2024-01-10 21:37:59 +00:00
Gary Guo
e9eefeed51
Use $CARGO instead of cargo in test scripts
2023-12-30 21:53:33 +00:00
Gary Guo
06699c21b0
Stop using naked functions for restore_context
2023-12-30 21:36:11 +00:00
Gary Guo
96888d814f
core_intrinsics is now also marked as internal feature, so fix the warning
2023-12-30 21:31:25 +00:00
Sean Cross
cf89c1934c
riscv32: align stack pointer to 16-bytes
...
Even though rv32 is only 32-bits, all RISC-V stacks must be aligned to a
16-byte boundary. For discussion on this, see:
https://github.com/riscv-non-isa/riscv-elf-psabi-doc/issues/21
As an example of why this is important, the `c.addi16sp` compressed
instruction is only able to adjust the stack pointer by 16-byte
increments.
Signed-off-by: Sean Cross <sean@xobs.io>
2023-12-27 18:48:56 +00:00
Gary Guo
ad1b65a9b6
Version bump and edition upgrade
2023-10-28 01:14:25 +01:00
Gary Guo
fdf70d1e18
Add more tests
2023-10-28 01:06:27 +01:00
Gary Guo
ad9086f9bb
Update exception struct to match current version of rustc
2023-10-28 00:24:56 +01:00
Gary Guo
00a7465328
Update gimli version
2023-10-28 00:13:56 +01:00
Gary Guo
9704d0bf23
Fix warnings
2023-10-28 00:13:46 +01:00
3401b8e3a6
Commit work
2023-09-29 15:47:39 -05:00
Gary Guo
36895d362c
Version bump
2023-08-06 14:35:59 +01:00
Gary Guo
a421b6d55c
Update ABI user
2023-08-06 14:33:42 +01:00
Gary Guo
de5dd40a4f
Add ABI-compatibility assertion
2023-08-06 14:33:42 +01:00
Gary Guo
8b05b629ae
Adjust binding macro
2023-08-06 14:33:42 +01:00
Gary Guo
7477bc5b6f
Adjust ABI safety requirement
2023-08-06 14:33:42 +01:00
Gary Guo
f5ef1d145e
Make UnwindTraceFn take &UnwindContext
only
2023-08-06 14:33:42 +01:00
Sean Cross
2f9e374431
find_fde: make text_base
optional
...
No platforms currently use relative addressing. Make this parameter
optional in order to support targets where this value is not available.
Signed-off-by: Sean Cross <sean@xobs.io>
2023-08-06 13:00:25 +01:00
Sean Cross
1b30c6a79d
cargo: support building as part of libstd
...
Support using `unwinding` as a backend for the libstd `unwind` crate.
This will enable unwinding support for new targets while allowing us to
continue to use `libunwind` from llvm for supported targets.
Signed-off-by: Sean Cross <sean@xobs.io>
2023-08-06 13:00:25 +01:00
Gary Guo
953591ff1b
Fix CI text check to account for new panic info fmt
2023-08-05 16:44:24 +01:00
Gary Guo
e50b916b7f
Allow internal_features lint
2023-08-05 16:04:53 +01:00
Gary Guo
3a16126550
Allow non-dummy feature to absorb dummy feature
...
This will allow building with --all-features
2023-08-05 16:01:57 +01:00
Gary Guo
29d292637b
Allow unwinding_dyn to be built as staticlib
2023-07-29 15:02:45 +01:00
Taiki Endo
5c96fa7042
Simplify CI config
2023-07-16 14:39:17 +01:00
Dylan DPC
5fbf47a2d7
Update Cargo.toml
2023-07-02 16:10:00 +01:00
Gary Guo
372cb02d2a
Version bump
2023-05-07 12:27:34 +01:00
Gary Guo
e3cf678839
Support DW_CFA_GNU_args_size
2023-05-07 12:20:27 +01:00
Gary Guo
dcb6ae6dc1
Add a dbg macro to the print utility
2023-05-07 12:20:27 +01:00
Gary Guo
73c9fbf66e
Ensure 16B stack alignment for x86
2023-05-07 12:20:27 +01:00
Gary Guo
87851eb776
Add i686 to CI matrix
2023-05-07 12:20:27 +01:00
Gary Guo
a9bec9e719
Change save_context to invoke callback instead
2023-05-07 12:20:27 +01:00
Gary Guo
6dc1ed4d80
Test multiple targets in CI
2023-05-07 00:53:56 +01:00
Gary Guo
c7f06f852b
Run the example as a CI test
2023-05-07 00:29:39 +01:00
Gary Guo
863a10ed9a
Create ci.yml
2023-05-07 00:15:01 +01:00
Gary Guo
a331c22665
Use libc abort instead intrinsic abort when available
2023-05-07 00:10:38 +01:00
Gary Guo
77f8403aae
Remove stabilised feature
2023-05-06 23:59:35 +01:00
Gary Guo
b2ff52837f
Bump version
2023-03-26 23:26:57 +01:00
Taiki Endo
c88a9016fc
Add RISC-V RV32 support
2023-03-26 23:23:15 +01:00
Felix Yan
3dba9da864
Correct a typo in x86_64.rs
2023-03-20 23:04:06 +00:00
Nick Spinale
02b5c86f89
Add fde-custom feature
2023-01-14 09:25:33 +00:00
978cc419f9
Don't save disabled FPU registers
2022-10-30 17:22:04 -05:00
Gary Guo
2f3ffefe8e
Bump version
2022-09-12 21:46:09 +01:00
Gary Guo
c72e9cb824
Increase unwind table stack size
...
GDB binary seems to need 2
2022-09-12 21:45:30 +01:00
Gary Guo
9217c76d3d
Fix name for ForcedUnwind
2022-09-12 21:45:29 +01:00