Commit Graph

66 Commits

Author SHA1 Message Date
Gary Guo
f76376c101 Add a cdylib target 2021-08-26 05:01:50 +01:00
Gary Guo
7c07a5dbd9 Add helper methods to UnwindAction 2021-08-26 04:57:02 +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
54cbb9f8fc Use core::ffi::c_void instead of libc::c_void 2021-08-26 03:48:18 +01:00
Gary Guo
855a3d3a9f Full unwinding implementation 2021-08-26 03:30:28 +01:00
Gary Guo
874abe87d2 Make frame optional to be able to denote end-of-stack in context 2021-08-26 03:28:02 +01:00
Gary Guo
e588ffdf2e Implement unwind accessors 2021-08-26 02:03:28 +01:00
Gary Guo
69f47111a0 Add unwind ABI defs 2021-08-26 02:02:13 +01:00
Gary Guo
61275d40b8 cfg-gate x86_64 module 2021-08-26 01:52:17 +01:00
Gary Guo
28f545a5c8 Enforce unsafe_op_in_unsafe_fn 2021-08-26 01:51:59 +01:00
Gary Guo
dd94e27b1f Implement frame unwinder 2021-08-25 21:37:41 +01:00
Gary Guo
8b06d29ed8 misc changes 2021-08-25 21:36:42 +01:00
Gary Guo
5ecb44d1e3 Implement context save/restore asm for x86_64 2021-08-25 05:59:24 +01:00
Gary Guo
c9385a3f21 FDE finder 2021-08-25 02:55:49 +01:00