Gary Guo
36895d362c
Version bump
2023-08-06 14:35:59 +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
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
b2ff52837f
Bump version
2023-03-26 23:26:57 +01:00
Nick Spinale
02b5c86f89
Add fde-custom feature
2023-01-14 09:25:33 +00:00
Gary Guo
2f3ffefe8e
Bump version
2022-09-12 21:46:09 +01:00
Gary Guo
4adf2d434f
Remove lto as related rust issue is fixed
2022-05-04 15:29:40 +01:00
Gary Guo
96fd6c3cae
Bump version
2021-12-17 07:55:46 +00:00
Gary Guo
52086c73f8
Bump version
2021-10-26 01:11:10 +01:00
Gary Guo
9741d8a177
Remove alloc dependency
2021-10-13 16:58:06 +01:00
Gary Guo
6f4bf61efb
Prevent heap allocation during stack unwind
2021-10-12 18:13:28 +01:00
Gary Guo
8a4b906cb8
Bump version
2021-10-05 22:38:31 +01:00
Gary Guo
9a570a961c
Add description to Cargo.toml
2021-10-05 20:21:17 +01:00
Gary Guo
52b976dc4d
Rename project to unwinding to avoid crates.io name conflict
2021-10-05 20:18:27 +01:00
Gary Guo
2bba02748c
Improve documentation
2021-10-05 00:53:26 +01:00
Gary Guo
88d34ea7ad
Add generic panicking support
2021-10-05 00:30:16 +01:00
Gary Guo
5364967c0e
Add method to get PHDR from aux vector
2021-10-04 23:01:26 +01:00
Dan Gohman
800048db67
Remove "spin" from the default list, as it's pulled in by "fde-phdr".
2021-10-03 10:27:36 -07:00
Dan Gohman
67ebac869f
Make the spin dependency optional.
...
Make the spin dependency optional so that users enabling libc, which
enables libc-based locking, don't need to depend on spin.
2021-10-03 09:40:20 -07:00
Dan Gohman
c40a114e23
Add a way to find .eh_frame_hdr
using __GNU_EH_FRAME_HDR
.
...
GNU ld on at least some platforms adds a symbol `__GNU_EH_FRAME_HDR` for
the `.eh_frame_hdr` section. Add a cargo feature `fde-gnu-eh-frame-hdr`
to enable use of this.
2021-10-02 10:13:04 -07:00
Gary Guo
e39f404854
Add patch to use latest version of gimli
2021-09-06 23:24:31 +01:00
Gary Guo
f4dd644e67
Static FDE searcher
2021-08-26 22:40:10 +01:00
Gary Guo
e1c7c1ae60
Refactor
2021-08-26 12:11:24 +01:00
Gary Guo
2fc17fc631
Add an example
2021-08-26 11:06:45 +01:00
Gary Guo
af45cc8701
Move dummy panic handler to lib as well
2021-08-26 11:00:25 +01:00
Gary Guo
6e74064c7f
Implement basic panic handler
2021-08-26 10:55:35 +01:00
Gary Guo
af031eb4b1
Panic utilities
2021-08-26 10:54:02 +01:00
Gary Guo
487ca98456
Add print helpers
2021-08-26 10:01:58 +01:00
Gary Guo
f0e87da0aa
Implement rust personality
2021-08-26 09:56:15 +01:00
Gary Guo
e205fb9e64
Move dummy personality to libunwind
2021-08-26 09:54:17 +01:00
Gary Guo
68baa798fb
Add a feature gate to control whether hide self from trace
2021-08-26 05:40:08 +01:00
Gary Guo
a942d60e1a
Allow dwarf expr support to be turned off
2021-08-26 05:37:45 +01:00
Gary Guo
d22df752ca
Move the system allocator to libunwind as a feature
2021-08-26 05:27:35 +01:00
Gary Guo
5e4c957df4
Workaround rust issue 50007
2021-08-26 05:24:02 +01:00
Gary Guo
f76376c101
Add a cdylib target
2021-08-26 05:01:50 +01:00
Gary Guo
20ca20e7f8
Remove std dependency
2021-08-26 04:27:01 +01:00
Gary Guo
83537e0211
Gate FDE finder under features
2021-08-26 03:56:15 +01:00
Gary Guo
c195fc91eb
Use spinlock if std feature is off
2021-08-26 03:50:33 +01:00
Gary Guo
8b06d29ed8
misc changes
2021-08-25 21:36:42 +01:00
Gary Guo
c9385a3f21
FDE finder
2021-08-25 02:55:49 +01:00